PC Review


Reply
Thread Tools Rate Thread

How to access files in %windows folder%/system32 by asp.net/c#??

 
 
RC
Guest
Posts: n/a
 
      25th Jan 2005
I am going to read a file at windows system32 folder.....I found that I
cannot access the folder by classes in System.IO...authentication
failure....how can I read the files?

Thanks


 
Reply With Quote
 
 
 
 
Michal Boleslav Mechura
Guest
Posts: n/a
 
      25th Jan 2005
Try granting more rights to the "ASPNET" account on your machine. This is
the account under which ASP.NET applications run. For example, try making
the account a member of the Administrators group, and then reboot the
machine for the changes to take effect.

Be warned, though, that this makes your machine potentially more vulnerable
to attacks. What are you reading the files for, anyway? A well-behaved
internet application shouldn't need to look in system folders.

Michal

--
Michal Boleslav Mechura
(E-Mail Removed)

"RC" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I am going to read a file at windows system32 folder.....I found that I
> cannot access the folder by classes in System.IO...authentication
> failure....how can I read the files?
>
> Thanks
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Which software removes some dll files from Windows\System32 folder? fred Windows XP General 14 23rd Jul 2009 08:21 PM
Attach files saved at System32 Windows folder!? (and missing) Benedita Windows Vista Mail 3 6th May 2009 09:15 AM
clean SET*.TMP files in windows\system32 folder ? nospam Windows XP General 2 11th Jan 2009 03:19 PM
Apparently permissions preventing VB code access to Windows\System32 folder Rick Windows Vista Security 3 12th Aug 2007 01:52 PM
*.NLS files removed from SYSTEM32 folder, now replaced. Now windows hangs bootin steve Windows XP General 0 13th Nov 2003 03:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:31 PM.