Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing a website on my local machine. The site has a file upload field which save the file to a location on my hard drive. Everything works well accept that IIS doesn't have permission to read the file so it won't display it back in the browser. If I go directly to the file and change it's permission (properties > security >allow full control) it works fine. How do I make all newly created file accessible by the system?

share|improve this question

you should have a look in the services snap in what is the uer under which the IIS service executes and add an ACL on his behalf to the folder of the uploaded files.

share|improve this answer
Thanks Alain. I'm a complete Windows noob. Whould you mind telling me how to do that or attaching a link? – Pardoner Feb 17 '11 at 18:35

Can't you set the permissions on the folder instead and let the ACLs recurse?

share|improve this answer
Tried that, doesn't work – Pardoner Feb 17 '11 at 18:34
@Pardoner: It should work. Try Process Monitor and filter on the event ACCESS DENIED and then surf to your page and look at the properties of the relevant ACCESS DENIED events to know the impersonator... – Tom Wijsman Feb 18 '11 at 12:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .