Web应用程序中的解密密码在哪里以及如何用于身份验证? [英] where to decrypt password in the web application and how to use it for authentication?

查看:79
本文介绍了Web应用程序中的解密密码在哪里以及如何用于身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们...

我已将加密形式的密码存储到身份属性下的Web配置文件中.
我的问题是我必须在Web应用程序中将其解密以及如何解密?


<身份验证模式="Windows">
< identity impersonate ="true" username ="domainname/username" password ="AQAAANCMnd8BFdERjHoAwE/Cl + sBAAAAewI1HqfAWUi9c5Yr + jPQpAQAAAACAAAAAAADZg">


感谢您的帮助.

Hi friends...

i have stored password in encrypted form into the web config file beneath identity attribute.
My question is where i have to decrypt it in the web application and how?


<authentication mode="Windows">
<identity impersonate="true" username="domainname/username" password="AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAewI1HqfAWUi9c5Yr+jPQpAQAAAACAAAAAAADZg">


I appreciate your help

推荐答案

我在安全类中对密码进行加密并将其存储到数据库中,并且在我的登录页面中,如果它们匹配,我将从databse中访问相应的值使用用户输入的加密值,无需解密;)!
I do encryption of password in my security class and store into database, and in my login page i access the respective values from databse if they match with the encrypted value entered by user,no need to decrypt ;)!


这篇关于Web应用程序中的解密密码在哪里以及如何用于身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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