authentication vs authorization 验证与授权的区别
在看ldap的时候发现了两个关键词, authentication验证 和 authorization授权
http://www.cyberciti.biz/faq/authentication-vs-authorization/#comment-724439
这篇文章讲得很好,
authentification验证 - 是指验证who you are(你是谁), 所以需要用到username和password进行身份验证。
authorization授权 - 是指what can you do(你可以做什么), 而且这个发生在验证通过后。对一些文档的访问权限更改权限删除权限,需要授权。
小伙伴们是不是觉得这两个概念立刻清晰起来了啊?
http://blog.csdn.net/voilethht/article/details/47294619
authentication 证明, 鉴定 [ɔ:ˌθentɪ'keɪʃn] 认证; 身份验证; 证明,鉴定; 密押;
authorization 授权书;委托书 [ˌɔ:θərəˈzeɪʃn] 授权,批准; 批准(或授权)的证书
authentic真的;真正的
author创作者;创始者
authorize 授权 批准;认可
http://cache.baiducontent.com/c?m=9d78d513d9d431de4f999e697c1cc015134380122ba6da020ea0843e977328475321a3e52878564291846b6672b2540cbab1217240536bf78cc8ff1b81a6c16869d3766a2701e716439459f48d0d38c2239a51e8&p=9360c64ad49b2dff57ed977c5754bb&newp=c9759a45d5c103fc57efcd364949cd231610db2151d3d201298ffe0cc4241a1a1a3aecbf20201006d9c3766105a44958ecf13472350834f1f689df08d2ecce7e6d&user=baidu&fm=sc&query=%BC%F8%C8%A8+%C8%CF%D6%A4&qid=e9ef44d700006008&p1=2
Authentication: The act of verifying the identity of an entity(subject).
Authorization: The act of determining whether a requesting entity(subject) will be allowed access to a resource(object).
学术性的=.=
个人理解,偏向于身份的确认,即是不是这个人
而偏向于对象权限的认定,即这个人是否有这个权限
所以适用的场所肯定是不一样的