IIS and securing folders

Soldato
Joined
18 Oct 2002
Posts
4,925
Location
Yorkshire
I've got some .Net web hosting which I assume is running on iis. because this is shared hosting I don't have access to any configuration in iis.

How would I go about securing a folders contents the same way i'd do say using a htaccess file ?

on my local box i've managed to use a web.config file with forms authentication setup and limiting file access to a certain user role. This is working perfectly for all files within that folder be is a *.aspx, *.htm, *.html and *.pdf.

Now when I copy this over to the hosting server it works for the aspx files but doesn't protect the *.pdf or *.htm files at all. I assume its some kind of config issue with the server but they seem unable to crack it.

so back to the question is there I way I can secure all files within this folder using a password or something by dropping in a htaccess type of file ?
 
Back
Top Bottom