Security (Urgent!!!)
From: Vinod (vinod_at_erivasystems.com)
Date: 06/27/05
- Next message: Tony Bukres: "Re: Credit card processing, how does one go about developing something like that for a website?"
- Previous message: oceandeep: "read and write file from network drive (NAS)"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: Security (Urgent!!!)"
- Reply: Dominick Baier [DevelopMentor]: "Re: Security (Urgent!!!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 27 Jun 2005 21:13:10 +0530
Hi,
I am developing a aspx login screen based on the roles (Admin,User). If
the role is Admin he needs to acess a
particular folder in the system.
If the role is User he needs to access another folder in the system.
How can i accomplish it.
Currently i am using this code but its not working fine
<location path="alfa/admin">
<system.web>
<authorization>
<allow roles ="Admin" />
<deny users="*" />
</authorization>
</system.web>
</location>
<location path="engine">
<system.web>
<authorization>
<allow roles ="Users"/>
<deny users="*" />
</authorization>
</system.web>
</location>
In the login screen if i enter a valid login also it is not redirecting
it to a page in the admin folder . It attaches the redirection url and
stays in the same page.
Any Help will be very grateful
Regards
Vinod
- Next message: Tony Bukres: "Re: Credit card processing, how does one go about developing something like that for a website?"
- Previous message: oceandeep: "read and write file from network drive (NAS)"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: Security (Urgent!!!)"
- Reply: Dominick Baier [DevelopMentor]: "Re: Security (Urgent!!!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|