Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > aspnet_setreg with other data

Reply
Thread Tools

aspnet_setreg with other data

 
 
chandy@totalise.co.uk
Guest
Posts: n/a
 
      02-17-2006
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

 
Reply With Quote
 
 
 
 
Tom McDonnell
Guest
Posts: n/a
 
      02-22-2006
> 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Error reading the password from the registry, aspnet_setreg D Barry ASP .Net 1 12-17-2008 10:35 PM
ASPNET_SETREG runs on XP, not 2000 microsoft.public.dotnet.framework.aspnet.webcontrols ASP .Net 0 05-05-2004 07:13 PM
Setting registry permission after aspnet_setreg. Kevin Burton ASP .Net 1 02-07-2004 06:53 PM
aspnet_setreg? Kevin Burton ASP .Net 1 01-09-2004 03:26 PM
aspnet_setreg error with v1.1 Andy ASP .Net 1 11-20-2003 01:17 PM



Advertisments