aspnet_setreg with other data

Discussion in 'ASP .Net Security' started by chandy@totalise.co.uk, Feb 17, 2006.

  1. Guest

    I can use aspnet_setreg to securely store the credentials to be used by
    the ASPNET identity, but can the same technique be used to store data
    for other custom config keys? i.e., does ASP.Net understand what to do
    if I have this in the web.config?

    <appSettings>
    <add key="myUser"
    value="registry:HKLM\Software\SOME\REG\PATH\ASPNET_SETREG,userName"/>
    <add key="myPassword"
    value="registry:HKLM\Software\SOME\REG\PATH\ASPNET_SETREG,password"/>
    </appSettings>

    Will that produce the expected values?

    Chandy
     
    , Feb 17, 2006
    #1
    1. Advertising

  2. > Will that produce the expected values?

    Why not try it! However I think this syntax is specialised for the
    <identity> element, and uses the Data Protection API for encryption.
     
    Tom McDonnell, Feb 22, 2006
    #2
    1. Advertising

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. Andy

    aspnet_setreg error with v1.1

    Andy, Nov 20, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,031
  2. Kevin Burton

    aspnet_setreg?

    Kevin Burton, Jan 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    653
    ShikariShambu
    Jan 9, 2004
  3. Kevin Burton
    Replies:
    1
    Views:
    1,833
    Craig Deelsnyder
    Feb 7, 2004
  4. microsoft.public.dotnet.framework.aspnet.webcontro

    ASPNET_SETREG runs on XP, not 2000

    microsoft.public.dotnet.framework.aspnet.webcontro, May 5, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    366
    microsoft.public.dotnet.framework.aspnet.webcontro
    May 5, 2004
  5. D Barry
    Replies:
    1
    Views:
    2,999
    aedna
    Dec 17, 2008
Loading...

Share This Page