Google News
logo
Django - Interview Questions
What is the difference between authentication and authorization?
Authentication and authorization are two different terms. The authentication means the verification of the entity(user) in Django’s context. Authentication will verify that the user is what they claim to be.
 
Authorization is the step after authentication. It sets the actions that can be performed by the authenticated user. Authorization is a grouping of users and allowing limited actions.
 
Both of these functionalities are achieved by django.contrib.auth application. It is a built-in application in Django.
Advertisement