如何加密密码到sqlserver [英] how to encrypt password to sqlserver

查看:274
本文介绍了如何加密密码到sqlserver的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何在不使用登录控件的情况下注册用户时以加密格式设置密码.以同样的方式在登录用户时如何解密该密码

解决方案

1.对密码使用加密. 简单地说明安全密码认证 [ 解决方案

1. Use encryption on the password. Secure Password Authentication Explained Simply[^] is a useful article to help you.

2. You don''t decrypt on login, you encrypt the password entered by the user and then compare it to the stored value. Passwords are never stored in clear text, that would defeat the whole purpose of passwords and encryption.


这篇关于如何加密密码到sqlserver的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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