pevans
5/9/2012 1:20:17 PM
I want to lock my entire site, unless you are logged in. If you are not logged in it needs to redirect to the login page. I added the deny users line in the web.config file but then I get the following error:
HTTP Error 404.0 - Not FoundThe resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
<authorization>
<allow verbs="enterSharedScope, modifyState" roles="Administrators,Users" />
<deny users="?" /> <!-- Added this to lock entire site -->
</authorization>
Does anyone no what I did wrong or what I need to do to accomplish this? Thanks in advance
This content has not been rated yet.
42
Reputation
3
Total posts