Two-way password encryption without ssl

后端 未结 13 1404
感情败类
感情败类 2020-12-30 05:01

I am using the basic-auth twitter API (no longer available) to integrate twitter with my blog\'s commenting system. The problem with this and many other web APIs out there

相关标签:
13条回答
  • 2020-12-30 05:46

    When the key is sent between the client and the server it is clear text and subject to interception. Combine that with the encrypted text of the password and the password is decrypted.

    Diffie-Hellman is a good solution. If you only need to authenticate them, and not actually transmit the password (because the password is already stored on the server) then you can use HTTP Digest Authentication, or some variation there of.

    0 讨论(0)
提交回复
热议问题