Authentication And Autherization:
Authentication:
Authentication is the process of verifying the identity of a user.
It Will check identity of a user is valid and matches the provided credentials.it check what ever credentials we provide .
Username and password:
Users provide their credentials (username and password) to prove their identity.
Authorization:
Authorization is the process of granting or denying access rights and permissions to authenticated users or entities .
It determines user is allowed to access based on their authenticated identity .
Authorization ensures that authenticated users can only perform actions or access resources that they are authorized to use.