Results 1 to 2 of 2

Thread: [RESOLVED] [02/03] hiding the AppSettings in web.config file

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Posts
    589

    Resolved [RESOLVED] [02/03] hiding the AppSettings in web.config file

    Hi,

    Is there any way to hide or encrypt the web.config AppSettings in asp.net 1.1 applications?

    something close to what we do in asp.net 2.0 through: aspnet_regiis.exe -pe ...etc

    in the asp.net 1.1 what we basically want to do is hide or encrypt the connectionstring that s stored in an AppSettings element .

    Thanks for any suggestions
    Thanks a lot for your help.

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: [02/03] hiding the AppSettings in web.config file

    For .NET 1.1, you need to encrypt the value manually using CryptoProvider (TripleDES is common), and have the web application decrypt it and store it in the cache on startup.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width