Skip to the content.

Event Driven Applications

Why is access control important?
limit access to information and information processing systems. When implemented effectively, they mitigate the risk of information being accessed without the appropriate authorization, unlawfully and the risk of a data breach.

Describe an application that would need access control

any market , education website , bank website ….

What is a role used for?
to give some roles access to do things not given to others

Why is role based access control more scalable than discretionary or mandatory access control?

because it can given and restricted easier than other type access control

Vocabulary

voc related to
Authorization is a security mechanism to determine access levels or user/client privileges related to system resources including files, services, computer programs, data and application features.
Role Based Access Control is an approach to restricting system access to authorized users.
Capabilities is a communicable, unforgeable token of authority. It refers to a value that references an object along with an associated set of access rights.
   

Preview

Which 3 things had you heard about previously and now have better clarity on?

Which 3 things are you hoping to learn more about in the upcoming lecture/demo?

What are you most excited about trying to implement or see how it works?

 

Preparation Materials

Event Driven Programming

  1. An Event Handler is a callback function that will be called when an event is triggered.
  2. A Main Loop listens for event triggers and calls the associated event handler for that event.

EventEmitter
module that allows us to get started incorporating Event-Driven Programming in our project right away.

Removing Listeners
To remove event listeners in EventEmitter we can use the removeListener or removeAllListeners method.

 

 

Node docs: events