简体   繁体   中英

is this authentication or authorization?

I want to use DotNetOpenAuth to create something like this

Is is authentication or authorization? Any recommended tutorials?

在此处输入图片说明

  • Authentication - You are who you say you are. Like showing your ID card would mean that you are indeed who you say you are.
  • Authorization - You can access these resources. Knowing who you are, this would be giving (or denying) you access to a building.

In your screenshot you are giving authorization now that you have been authenticated.

In easy terms: Authentication is the process of determining the identity of the user. Authorization is the process of determining what a user is allowed to do.

Typically the result of authorization is based on the result of authentication: you may do X if you are Y. When I log in to StackExchange, the system sees I'm Andre (authentication), so regarding to the rules I'm allowed to create gallery chat rooms (authorization).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM