471,354 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Which account neets permission to read the Registry key.

Hi All,

I am using aspnet_setreg.exe to encrypt the username and password and store
them in Web.Config file for impersonation.

I have given ASPNET and Impersonation account to read the registry key.

However, while running the application it fails saying that can't read the
password for Registrty.

If I give read permission to "Everyone" it works fine.

Can anyone please tell me which account ASP.NET application uses to read the
registry key or how do find out which account it is trying to use.

I dont want to give read permission to "everyone".

Thanks in advance
Sachin
Nov 19 '05 #1
2 3133
There is no "impersonate" account. If you have impersonation turned on,
then the account trying to access the registry is the account of the person
accessing the website.

"Sachin" <an********@microsoft.com> wrote in message
news:eq*************@tk2msftngp13.phx.gbl...
Hi All,

I am using aspnet_setreg.exe to encrypt the username and password and
store
them in Web.Config file for impersonation.

I have given ASPNET and Impersonation account to read the registry key.

However, while running the application it fails saying that can't read the
password for Registrty.

If I give read permission to "Everyone" it works fine.

Can anyone please tell me which account ASP.NET application uses to read
the
registry key or how do find out which account it is trying to use.

I dont want to give read permission to "everyone".

Thanks in advance
Sachin

Nov 19 '05 #2
Which OS are you running? Giving permissions for ASPNET works only for Win
XP Pro. If you are using Win 2003, give the same permissions for
'serverName\Network Service'

"Sachin" <an********@microsoft.com> wrote in message
news:eq*************@tk2msftngp13.phx.gbl...
Hi All,

I am using aspnet_setreg.exe to encrypt the username and password and store
them in Web.Config file for impersonation.

I have given ASPNET and Impersonation account to read the registry key.

However, while running the application it fails saying that can't read the
password for Registrty.

If I give read permission to "Everyone" it works fine.

Can anyone please tell me which account ASP.NET application uses to read the
registry key or how do find out which account it is trying to use.

I dont want to give read permission to "everyone".

Thanks in advance
Sachin

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Sine Nomine | last post: by
reply views Thread by Justin | last post: by
2 posts views Thread by lolaolegerl | last post: by
7 posts views Thread by Austin Myers | last post: by

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.