开发者

making web.config password protected and use it in application

开发者 https://www.devze.com 2023-01-03 18:27 出处:网络
I want to make my web.config password protected so that external u开发者_如何学Csers do not open it. But my application should be able to access. Is there any way to do this??Rather than protecting fi

I want to make my web.config password protected so that external u开发者_如何学Csers do not open it. But my application should be able to access. Is there any way to do this??


Rather than protecting file by password use Encrypt web config have look to this : Encrypting Web.Config Values in ASP.NET 2.0


See http://msdn.microsoft.com/en-us/library/ff647398.aspx

And some samples https://web.archive.org/web/20211020203213/https://www.4guysfromrolla.com/articles/021506-1.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号