Simplified: Authentication & Authorization

Simplified: Authentication & Authorization

Are both the same? Are you also confused between Authentication & Authorization? Don’t Worry! Let's simplify!

Imagine 2 Scenarios ✨

Try to relate these scenarios with Authentication & Authorization.

Scenario 1

Suppose you’re a student of XYZ University & studying any course. At the entrance of the University Campus, students are required to verify their identity that they are students of this university. So, here in this scenario, what you will do as a Student? Yes, Definitely! You will show your ID Card received from University.

Authentication is also the same as this. Authentication confirms that users are who they say they are.

Scenario 2

Suppose you’re organizing an Event & you have a team of 10 people. In this event, you have to manage all sections like Registration, Technical, Food, etc. So, What you will do? Yes, that’s right! You will distribute these sections in your team & give ACCESS to the respective team members.

Authorization is also the same as this. Authorization gives users permission to access specific resources.

Which Comes First?

The authentication process comes before Authorization. In the authentication process, the User’s identity is verified & then Authorization is provided with access to the System.

Ex. Authentication -> Social Media Platform Login Authorization -> Access to Social Media Platform as User

To Sum It All Up…

A system can not permit Authorization without Authentication because it is important to verify Person’s Identity & provide specific Authorized Permissions with respect to the Authorization Level. Hope you enjoyed this blog. Thank You!

Did you find this article valuable?

Support Dhanraj Chavan by becoming a sponsor. Any amount is appreciated!