multiple Forms authentication

poorkestarrog

New Member
Hi, <BR>I am currently rebuilding our asp site on asp.net. We have a public accessible area on the site, plus we have a password protected area where visitors can update and change their data, plus we have an administrator area for our webmasters to log in. The two password protected areas have different ways of login, means, there are different data sources for the authentication.<BR><BR>Up to now I have set up the password protection like this:<BR><BR>For the root web:<BR><BR><authentication mode="Forms"><BR><forms name="appNameAuth" path="/" loginUrl="selfadmin/login.aspx" protection="All" timeout="30"><BR></forms><BR></authentication><BR><authorization><BR><allow users="*" /><BR></authorization><BR><BR>For the visitors subweb:<BR><BR> <location path="selfadmin"><BR> <system.web><BR> <authorization><BR> <deny users="?"/><BR> </authorization><BR> </system.web><BR> </location><BR><BR>But .... how to set up the second subweb so that it will use a different login page ??? As I understand now, the forms authentication must be "declared" for the root web. Do I have to develop the different subwebs in different projects ?<BR><BR>Does anyone have a good hint for a website where the forms authentication is wired up in detail, or can anyone give me some advices ?<BR><BR>Thanks a lot<BR>Henning HirschmannIf anyone knows any such hints, I'm interested in learning them too.
 
Back
Top