You are developing an ASP.NET MVC application that will be deployed on a web farm.
Passwords must be stored in the web.config file and must not be readable or in a format that is easily decodable
You need
to encrypt the passwords that are stored in the web.config file.
Which command-line tool should you use?
A. Aspnet_regiis.exe
B. Ngen.exe
C. Aspnet_merge.exe
D. EdmGen.exe
References: http://msdn.microsoft.com/en-us/library/zhhddkxy(v=vs.100
).aspx
No answer is marked here as correct. It should be: A.
Aspnet_regiis.exe (ASP.NET IIS Registration Tool) can be used to encrypt or decrypt web.config sections. ASP.NET decrypts encrypted configuration elements automatically when the web.config is processed.
3
0