[英]Impersonation in ASP.NET without declaring password
I am trying to implement impersonation in ASP.NET. 我正在尝试在ASP.NET中实现模拟。 I am following this URL .
我正在关注此URL 。
Microsoft beautifully explains the process. Microsoft很好地解释了该过程。
However, I am a bit skeptical about declaring the password in web.config 但是,我对在web.config中声明密码有些怀疑
Is there any way, we can achieve impersonation without declaring password? 有什么方法可以在不声明密码的情况下实现模拟?
Thank you 谢谢
If you want to use user name and password for impersonation you have to store it somewhere. 如果要使用用户名和密码进行模拟,则必须将其存储在某处。
But here is a list of things you can try: 但是,您可以尝试以下操作:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.