Ask a Question related to ASP.NET Security, Design and Development.
-
Luca #1
Help on protect sub-directories with roles
I am trying to protect sub-directories making use of the web.config
<location>-tag.
Additionally I would like to make us of my internal roles instead of the
user(names). I.e.:
<location path="web/admin">
<authorization>
<allow roles="Super Administrators"/>
<deny users="?"/>
<authorization>
</location>
This does NOT seem to work! On the other hand
<location path="web/admin">
<authorization>
<allow roles="sa"/>
<deny users="?"/>
<authorization>
</location>
does work.
I would have expected that in the former case the IPrincipal>>IsInRole
method is called, but this is not the case.
Can anybody enlighten me on how to make rolebased authorization, or am I
trying to do soemthing impossible.
thx all!
Luca Guest
-
protect dcr
Hi, As far as protection is concerned it seems many people use java to open a dcr in its own window without a toolbar to keep people from saving... -
protect .dir
Hi I have created projector starting from a .dir empty file to which I add several dir that they compose my cd and several cts external. Creating... -
protect
Hi guys and girls. How can I make to protect my director files and to avoid them to be modified? See yaŽ Alfredo -
Using virtual directories for common directories (scripts, images, styles, etc.)
Hi, (sorry for the crosspost, I wasn't sure which was the best place to put this). I was just thinking about something and wondered if any of... -
Password Protect
I am trying to password protect the partitions on my harddrive. I created 3 partions the 4th one being used only for the OS. Is there a way to...



Reply With Quote

