Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.