Forms Authentication
I'd like to know about the Forms Authentication in ASP.Net.
I have some forms including
1. login.aspx
2. default.aspx
3. admin_panel.aspx .....
I write the following code in web.config.
<authentication mode="Forms">
<forms name="myproject" loginUrl="login.aspx" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
I only want to do forms authentication for admin pages.
I don't want default.aspx to be included in forms authentication.
How should I do??? Please help me.
Thanks,
TW
|