Forum Moderators: open

Message Too Old, No Replies

IIS Read/Write Permissions

         

flyerguy

12:26 pm on Apr 30, 2005 (gmt 0)

10+ Year Member



I have several sites on an IIS6 box, with Ensim as the admin program.

I understand what setting the permissions on files to 'Read' does, as if it's not on, the file cannot be accessed.

What I am cloudy about is what exactly the 'Write' permission in a typical IIS webspace does. Yes, I see that if 'Write' is not on an .MDB database, it cannot be written to. What, however, is the security risk (if any) of having 'Write' on a normal .htm or .asp file?

Can the anonymous IUSER affect an .htm or .asp file if it has full read/write toggled on?

mrMister

11:53 am on May 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What, however, is the security risk (if any) of having 'Write' on a normal .htm or .asp file?

A script running that has write acces priviliges can modify the file.

It's possible that if you're not careful, a security issue could arise with one of your scripts which could allow a hacker to create their own files on the web root.

It's best practice to only allow write access to files that absolutely need it. Be extra careful when giving write permissions outside of the webroot.