Archive for December, 2009

Sunday, December 6th, 2009

Encrypting the connectionString section in web.config

This is fairly easy if you know the special sauce for encrypting Asp.Net web.config. You can use the built in functionality of Asp.Net. Go to Start => All Programs => Microsoft Visual Studio 2005/2008 => Visual Studio Tools =>Microsoft Visual Studio 2005/2008 Command Prompt.
Type in the following command (for using IIS):
aspnet_regiis.exe -pe "connectionString" -app "/<my […]

No Comments » - Posted in NHibernate by admin