#
MadShad
I have not been using IIS long (though I am extremely familiar with Apache httpd and Tomcat).
I understand how to secure directories and files in IIS from public access using the administration tool and or file system.
The question is simply, how do I secure directory and file access in the Web.config? I would like to be able to drop cuyahoga into IIS (as a virtual web) and not have to manually define security using the administration tool.
I am basically talking about preventing public access to files like:
http://this.could.be.your.cuyahoga.website/log/log.txt
http://this.could.be.your.cuyahoga.website/Modules/YourModule/Install/Database/mysql/install.sql
...without having to manually define individual configuration rules for each virtual web.
I have searched for hours for a solution in IIS to no avail (Hey I am feeling stupid ok. I can do this in about 20 secs on Apache using 'DirectoryMatch' and 'FilesMatch')
I understand how to secure directories and files in IIS from public access using the administration tool and or file system.
The question is simply, how do I secure directory and file access in the Web.config? I would like to be able to drop cuyahoga into IIS (as a virtual web) and not have to manually define security using the administration tool.
I am basically talking about preventing public access to files like:
http://this.could.be.your.cuyahoga.website/log/log.txt
http://this.could.be.your.cuyahoga.website/Modules/YourModule/Install/Database/mysql/install.sql
...without having to manually define individual configuration rules for each virtual web.
I have searched for hours for a solution in IIS to no avail (Hey I am feeling stupid ok. I can do this in about 20 secs on Apache using 'DirectoryMatch' and 'FilesMatch')