什么是消化和基本身份验证之间的区别? [英] What is the difference between Digest and Basic Authentication?

查看:165
本文介绍了什么是消化和基本身份验证之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么区别的摘要的,差异的基本的认证?

What is the difference between Digest and Basic Authentication ?

推荐答案

摘要式身份验证通过将散列函数的用户名,密码,服务器提供的现时价值,HTTP方法进行通信以加密形式的凭据,以及请求的URI。

Digest Authentication communicates credentials in an encrypted form by applying a hash function to the the username, the password, a server supplied nonce value, the HTTP method, and the requested URI.

而基本身份验证使用未加密的base64编码。

Whereas Basic Authentication uses unencrypted base64 encoding.

因此​​基本身份验证通常只应用在传输层安全(如HTTPS)提供。

Therefore Basic Authentication should generally only be used where transport layer security is provided such as https.

对于所有的血淋淋的细节请参见 RFC-2617

See RFC-2617 for all the gory details.

这篇关于什么是消化和基本身份验证之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆