Role based Security in ASP.Net
From: Eric Lyons (EricLyons1@comcast.net)
Date: 01/22/03
- Next message: Josh Korn: "Re: .NET PetShop doesn't seem to start under .NET Server RC2"
- Previous message: Mike Moore [MS]: "Re: Windows Domain Groups in Authorization section sans AD"
- Next in thread: Gregor Streng: "Re: Role based Security in ASP.Net"
- Reply: Gregor Streng: "Re: Role based Security in ASP.Net"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Eric Lyons" <EricLyons1@comcast.net> Date: Tue, 21 Jan 2003 21:57:52 -0500
I know this has been asked a lot but I'm having a small problem. I've read
all the articles and I have form and role security working. The problem is
requesting a page that has a role specified (Let's say "Admin") after a user
has already logged in and the user doesn't have the role assigned to them.
What happens is the user is redirected to login url because the user doesn't
have the role assigned. Is there a way I can detect this somehow and
redirect to an access denied page or something. I know I can check the role
in code on every page in that directory but that defeats the roles in the
web config. Thanks for any information or examples.
Eric Lyons
- Next message: Josh Korn: "Re: .NET PetShop doesn't seem to start under .NET Server RC2"
- Previous message: Mike Moore [MS]: "Re: Windows Domain Groups in Authorization section sans AD"
- Next in thread: Gregor Streng: "Re: Role based Security in ASP.Net"
- Reply: Gregor Streng: "Re: Role based Security in ASP.Net"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|