You can :
1. Assign your users to a role and limit access with <location path=...> in web.config.
2. Place the protected files in a subdirectory,
and control access with <location path=...> in web.config.
http://www.howtodothings.com/compute...ith-roles.html
3. You can also setup security per-page :
<location path="some.aspx">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>
http://www.asp101.com/articles/matt/...te/default.asp
Juan T. Llibre, asp.net MVP
aspnetfaq.com :
http://www.aspnetfaq.com/
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================
"RAB" <ra*********@yahoo.com> wrote in message
news:11**********************@c74g2000cwc.googlegr oups.com...
I am designing an application. I have 5 web pages. Page1.aspx,
Page2.aspx, Page3.aspx, Page4.aspx and Login.aspx
I want any user to freely be able to navigate between Page1.aspx and
Page2.aspx
However, I only want users who submit a valid username and password on
Login.aspx to be able to navigate to Page3.aspx and Page4.aspx
How do I set up my web.config file in order to have this functionality?
Thanks,
RABMissouri