IIS_IUSRS cannot access files uploaded and created by Network Service - error 401.3

Locked IIS_IUSRS cannot access files uploaded and created by Network Service - error 401.3

  • Sunday, November 22, 2009 8:13 AM
     
     
    I have a php script that is used to upload images on my windows webserver 2008. The files are created in the correct directory. The are created and owned by the user Network Service. Network Service has full access to the uploaded file. As soon as I try to access the uploaded file (mostly an image) via HTTP, I get an 401.3 not authorized error.

    Now, if I right-click on the not accessible file and grant IIS_IUSRS read permissions via the security tab, the file can be accessed! By default IIS_IUSRS has NO access at all for the uploaded files. The directory containing the files has the correct access rights set. But each file that is new uploaded to the directory is permitted for IIS_IUSRS.

    How can I grant IIS_IUSRS by default access to the newly uploaded file? The appPool of the website has its identity set to its default, I also tried setting it to "networkIdentity" or so, but that did not work either.

All Replies

  • Monday, November 30, 2009 7:44 AM
    Moderator
     
     
    Hi .Max,

    Thank you for posting in windows 2008 R2 server forums,

    I see that your question is related with IIS , i would suggest you to post your question under IIS forum ,please navigate to below link and post your query

    http://forums.iis.net