473,396 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

aspnet_setreg.exe

Can aspnet_setreg.exe work for regular app.config files as well?
Nov 16 '05 #1
3 3157
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

Nov 16 '05 #2
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/de...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!
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OP*************@tk2msftngp13.phx.gbl...
Can aspnet_setreg.exe work for regular app.config files as well?

Nov 16 '05 #3
yes. It is not just restricted to asp.net web.config files.

--- Nick

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OP*************@tk2msftngp13.phx.gbl...
Can aspnet_setreg.exe work for regular app.config files as well?

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Duncan Allen | last post by:
I'm trying to use aspnet_setreg to encrypt user names & password used in the web.config file for use in the indentity element. When the website runs I get the message 'Error reading the password...
0
by: RichW | last post by:
We are having some problems with invalid characters in passwords when using aspnet_setreg. Aspnet_setreg seems to generate the registry keys successfully, but then the asp.net application using...
1
by: Andy | last post by:
Hi all, I am trying to use aspnet_setreg to encrypt a user name and password to be used in the sessionstate section of my web.config file. I have the various knowledge base articles from...
1
by: Kevin Burton | last post by:
As was suggested I am using aspnet_setreg but I am getting the following error: : Error reading the password from the registry. (c:\inet pub\wwwroot\IVRService\web.config line 46) at...
1
by: Kevin Burton | last post by:
I am using aspnet_setreg but the permissions that it sets the registry to leave the application unable to access the information. I want to add the ASPNET account on the machine that our...
0
by: microsoft.public.dotnet.framework.aspnet.webcontro | last post by:
I have a webservice up and running locally on my dev machine (XP) using impersonate like so: Line 5: <identity impersonate="true" Line 6:...
0
by: Val P | last post by:
Various places (including http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfIdentitySection.asp) say: You can create the encrypted credentials and store them in...
2
by: jay | last post by:
I am attempting to impersonate an account in ASPNET. I am using aspnet_setreg to store the username and passwords. I have given the ASPNET account permisision to read the registry values. However,...
1
by: Mark Rae | last post by:
Hi, I'm working on an ASP.NET intranet site which is still in v1.1 of the Framework. We are using ASPNET_SETREG to impersonate a domain user for various reasons, as follows: <identity...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.