making web.config password protected and use it in application
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
精彩评论