troubleshooting Question

How do I prevent a user going directly to page without login?

Avatar of leachj
leachj asked on
5 Comments1 Solution529 ViewsLast Modified:
I am using vs2005 and visual basic.   I am implementing login with the login controls.  I have a default welcome page which contains some links to other sites and a button to go to a form page.  The form page requires login authentication.  I do not want all users to login before getting to the default page.  Only if they want to get to the form page.  I have set it up to do that now.  However....  A user can type the url of the form page in and go directly to it, bypassing the login.  How do I prevent this from happening and also allow the default page to be displayed to all users.  Her is my web config....

<authentication mode="Forms"/>

            <allow roles="Admin"/>
             <allow users = "*" />

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros