在POST Django上加密密码 [英] Encrypting passwords on POST Django
问题描述
SSL是一个事实上的解决方案,但是如果由于某种原因,您不能拥有它,那么您将在某些加密帖子数据的JavaScript库中找到隐藏。而且,如果你搜索了很多,但是我不相信任何一个都可以达到最大的安全性。
aside from using SSL, is there any way to encrypt a password in the Django framework on the first POST to the server? For example, if I have a form that accepts a username and password, then send it to another view, aren't the passwords sent to the backend unencrypted? If so, is there a way to encrypt the passwords before transmitting to the backend?
SSL is a de facto solution, but if for some reason you can't have it, then you'll find shelter in some javascript libraries that encrypt post data. And there are plenty of them if you search.. But I don't believe that any of them can achieve maximum security.
这篇关于在POST Django上加密密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!