Paul Maddox

Software development team leader specialising in Microsoft Visual C# and C++ from the Northwest of England. Experience working in a globalised business and team; understanding of enterprise business operation and practices; experience reporting to executive management Skills in numerous languages and technologies; knowledge of formal software development lifecycle; experience of architecture design

Thursday, August 28, 2008

Encrypting ASP.NET web.config impersonation data

It always irked me that using impersonate for my ASP.NET web apps meant I had to expose the username and password in plain text. Eg./

<identity impersonate="true" username="BOB" password="NOTSOSECRET">

Luckily it irked someone at Microsoft too and they came out with a hotfix allowing the credentials to be stored in encrypted form in the registry.

http://support.microsoft.com/kb/329290