Is there a difference between authentication and authorization?

后端 未结 17 2346
囚心锁ツ
囚心锁ツ 2020-12-04 06:38

I see these two terms bandied about quite a bit (specifically in web-based scenarios but I suppose it\'s not limited to that) and I was wondering whether or not there was a

17条回答
  •  生来不讨喜
    2020-12-04 06:46

    Authentication

    Authentication verifies who you are. For example, you can login into your server using the ssh client, or access your email server using the POP3 and SMTP client.

    Authorization

    Authorization verifies what you are authorized to do. For example, you are allowed to login into your server via ssh client, but you are not authorized to browser /data2 or any other file system. Authorization occurs after successful authentication.

提交回复
热议问题