sql server中的密码 [英] Password in sql server

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

问题描述

嗨我在我的数据库中有一个自定义用户表来维护密码和用户名,我不知道如何为密码提供安全保障。

任何人请帮助。

hi i''m having an custom users table in my database to maintain password and username and i don''t know how to provide security for password.
Any one please help.

推荐答案

您必须在通过适用的数据库存储时加密密码。在从DB检索密码到应用程序时解密密码。



您可以使用任何众所周知的加密算法进行编码。



查看此链接:使用密码加密C#中的MD5哈希算法 [ ^ ]
You have to encrypt the passwords while storing through your applicable to DB. And decrypt the password while you retrieve the password from DB to application.

You can use any well known encryption algo for encoding.

Check this link: Password Encryption using MD5 Hash Algorithm in C#[^]


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

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