Website security. Please help

dominico

Well-known member
Joined
Mar 9, 2005
Messages
57
Programming Experience
3-5
Please let me know if I need to use "cookies" in order to keep unauthorized users from entering my website without loggin in first.

After doing a few hours of research, below is what I added to my Web.config. However, when I cut and paste into the browser the addy of one of my website asp pages, it still loads up the webpage without redirecting me to the login page.

Below are what I set in my web.config:


<authenticationmode="Forms">



<formsname="myform"loginUrl="Login.aspx"></forms>

protection="All" path="/" />

</authentication>




<authorization>
<allowusers="?"/>



</authorization>

Am I missing something in the above sections or something else in my webpages?

Please advise.

dominico
 
Last edited:
Back
Top