aspnet_setreg.exe

  • Thread starter Thread starter Peter Rilling
  • Start date Start date
Hi Peter
I guess there is no problem with that if you give the process that will
read these registry keys later the appropriate permissions. I haven't try
it myself though


Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Peter,

I've never tried so I'm not sure - perhaps you should just give it a try and
see what happens. :)

However, if you want to implement the same type of functionality in your
app.config files, there is a very good article @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT07.asp

This article talks you point by point through making a data protection DLL
that utilizes the Data Protection API DPAPI - which is the same API used by
the ASPNET_SETREG.

As an FYI, if you do decide to take this path: the ASPNET_SETREG uses the
Machine Store - and encryptes and decrypts the string values as Unicode.


Good Luck!
 
Back
Top