HTTP Digest Authentication versus SSL

后端 未结 3 925
广开言路
广开言路 2020-12-09 03:18

What is the difference between HTTP Digest Authentication and SSL from a performance, security and flexibility point of view?

3条回答
  •  旧巷少年郎
    2020-12-09 03:50

    Digest authentication only encrypts the authentication credentials (that is, the username and password you type into your browser's authentication dialog)... SSL encrypts everything in the page. So SSL will be less efficient, and it's also typically more involved to set up. But SSL does have the advantage that it lets both parties verify each others' identities, if they have trusted certificates. HTTP digest authentication doesn't do that, so when using HTTP digest without SSL, you don't really know if the server you're sending your login info to is the right one or an imposter.

提交回复
热议问题