Encrypting external config section

  • Thread starter Thread starter Chuck
  • Start date Start date
C

Chuck

With .net 4.0 can you now encrypt external sections using the
Aspnet_regiis.exe tool?

I know in 2.0 you couldn't

<connectionStrings file="ExternalWeb.config">

Or is there is a good way to do this without having to write your own exe to
munge the xml?

thanks,
 
Hi Chuck,

Currently, we have no documentation that describes the Aspnet_regiis.exe
tool can be used to encrypt external sections in .NET 4.0.

Another way to achieve this is to read the extarnal files and inject them
inside the web.config.

Please refer to the detailed steps in these two articles.
http://weblogs.asp.net/muhanadyounis/pages/encrypt-web-config-including-exta
rnal-appsettings-and-connectionstrings-files.aspx
http://www.codeproject.com/KB/applications/EncryptConfiguration.aspx .

--
Sincerely,
Zhi-Qiang Ni
Microsoft Online Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

MSDN Managed Newsgroup support offering is for non-urgent issues where an
initial response from the community or a Microsoft Support Engineer within
2 business day is acceptable. Please note that each follow up response may
take approximately 2 business days as the support professional working with
you may need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations that require urgent,
real-time or phone-based interactions. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
 
Back
Top