Re: redirecting to main page
From: Brock Allen (ballen_at_NOSPAMdevelop.com)
Date: 03/30/05
- Next message: Brock Allen: "Re: Display Windows Login ID on Webpage"
- Previous message: Paul Clement: "Re: Display Windows Login ID on Webpage"
- In reply to: vips: "redirecting to main page"
- Next in thread: vips: "Re: redirecting to main page"
- Reply: vips: "Re: redirecting to main page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 30 Mar 2005 07:35:16 -0800
You should look into the <authorization> element in web.config -- this allows
you to specify who is and isn't allowed to see certain pages and it automatically
redirects the user to a login page (or any page you specify) if they're not
authorized:
And here's a way more in depth look:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetch03.asp
-Brock
DevelopMentor
http://staff.develop.com/ballen
> I am working on asp.net application
> what should I do so that if any user directly types the url other than
> "mainpage.aspx" of my application, he should be directed to
> "mainpage.aspx".
> I am managing user access by enabling and disabling the links on the
> web
> page depending on the user.
> cheers
>
- Next message: Brock Allen: "Re: Display Windows Login ID on Webpage"
- Previous message: Paul Clement: "Re: Display Windows Login ID on Webpage"
- In reply to: vips: "redirecting to main page"
- Next in thread: vips: "Re: redirecting to main page"
- Reply: vips: "Re: redirecting to main page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|