Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Reading a registry key

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SanDee - 07 Apr 2008 15:09 GMT
Hello,

I'm trying for days now to get the aspnet-account the permission to read in the registry. I granted the right with the registry editor (Regedit) but still I don't get the value of the key.

I also tried to request the permission during runtime - but I really don't get it. I don't understand how to do so. Could someone please help me out with some code?

Thanks,
SanDe

From http://www.developmentnow.com/g/8_0_0_0_0_0/dotnet-framework-aspnet.ht
David Wier - 07 Apr 2008 17:23 GMT
I would be horrified if I thought that a web page I accessed could access my
registry
Why would you need (or want) such a feature?

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup

> Hello,
>
[quoted text clipped - 14 lines]
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com
George Ter-Saakov - 07 Apr 2008 18:09 GMT
Most likely the guy want to read registry on a server....
I think to read registry in IIS hosted environment you need to elevate trust
level

Look here
http://msdn2.microsoft.com/en-us/library/aa302425.aspx#c09618429_006

George.

>I would be horrified if I thought that a web page I accessed could access
>my registry
[quoted text clipped - 23 lines]
>> Posted via DevelopmentNow.com Groups
>> http://www.developmentnow.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.