Encrypting web.config

Discussion in 'ASP .Net' started by -Steve-, Aug 16, 2006.

  1. -Steve-

    -Steve- Guest

    I'm using the command line: aspnet_regiis.exe -pe "appSettings" -app
    "/passwordReset" to encrypt some sensitive values in the configuration
    section.

    I can always get the values encrypted, but it seems that sometimes when I
    encrypt it something goes wrong becuase it's not readable by the webapp.
    I'll copy in a new web.config file and run the command again and all will be
    fine. Anyone know what could be going wrong?

    Steve Evans
     
    -Steve-, Aug 16, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CSharpner
    Replies:
    0
    Views:
    1,427
    CSharpner
    Apr 9, 2007
  2. Ollie Riches
    Replies:
    1
    Views:
    1,882
    Gregory A. Beamer
    Dec 4, 2008
  3. Alex. O. Koranteng

    Encrypting web.config file

    Alex. O. Koranteng, Dec 26, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    999
    Allen Chen [MSFT]
    Jan 2, 2009
  4. VR
    Replies:
    3
    Views:
    469
    Alek Davis
    Sep 9, 2003
  5. Lane
    Replies:
    3
    Views:
    639
    Dominick Baier [DevelopMentor]
    Apr 27, 2006
  6. Rob Roberts

    Error encrypting identity element in web.config

    Rob Roberts, May 9, 2006, in forum: ASP .Net Security
    Replies:
    1
    Views:
    934
    Rob Roberts
    May 11, 2006
  7. Sal

    web.config - encrypting details ASP .NET 1.1

    Sal, Dec 1, 2006, in forum: ASP .Net Security
    Replies:
    3
    Views:
    391
  8. Hey it's Filippo

    AspNet_RegIIS ...encrypting web.config when running Cassini

    Hey it's Filippo, Apr 12, 2007, in forum: ASP .Net Security
    Replies:
    2
    Views:
    289
    Hey it's Filippo
    Apr 12, 2007
Loading...