ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  ASP.NET Forms Authentication - Part 1
Subject:   forms authentication won't work
Date:   2004-06-18 09:43:19
From:   petermonadjemi
I have encoutered the stange phenomena that I sometimes can call webpages from a directory protected by forms authentication without having to be logged in. I am using WebMatrix have read that others have had the same problem but I haven't found a solution yet, here is my web.config:


<?xml version="1.0" encoding="UTF-8" ?>


<configuration>


<system.web>
<authentication mode="Forms">
<forms name=".ASPXAUTH"
loginUrl="login.aspx" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</configuration>


Regards,
Peter Monadjemi


1 to 1 of 1
  1. forms authentication won't work
    2006-11-20 20:47:00  kamalmca [View]

1 to 1 of 1