Interview Question
Qus: When you will use authentication and authorization?
We use authentication if we need to obtain some sort of credentials from the users and use those credentials to verify the user's identity.
We use authorization if we want to allow only the authenticated users to access the resources.
Answers (2)
We use authorization if we want to allow only the authenticated users to access the resources.