Dynamic page security authorization?
From: Craig Vedur (CraigVedur_at_discussions.microsoft.com)
Date: 08/31/05
- Next message: Pat: "Re: Limiting access to pages"
- Previous message: Gary at Arrowpoint: "Access is Denied Exception using Interop.CAPICOM.dll (or CAPICOM.d"
- Next in thread: Pat: "Re: Dynamic page security authorization?"
- Reply: Pat: "Re: Dynamic page security authorization?"
- Reply: Dominick Baier [DevelopMentor]: "Re: Dynamic page security authorization?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 30 Aug 2005 16:51:03 -0700
Hey,
My client wants to implement some sort of dynamic location role-based
security rule for a web app. Normally, in my web.config, I define the
location authorization rules such as:
<location path="WebForm.aspx">
<system.web>
<authorization><allow roles="Employee" /></authorization>
</system.web>
</location>
However, he wants to build an admin page that will keep track of pages and
role access in a database.
How can you implement this sort of 'dynmaic page authorization'? Obviously,
I can't define the rules in the web.config anymore.
Anybody have any ideas? Is it possible to add these rules at runtime?
Thanks
- Next message: Pat: "Re: Limiting access to pages"
- Previous message: Gary at Arrowpoint: "Access is Denied Exception using Interop.CAPICOM.dll (or CAPICOM.d"
- Next in thread: Pat: "Re: Dynamic page security authorization?"
- Reply: Pat: "Re: Dynamic page security authorization?"
- Reply: Dominick Baier [DevelopMentor]: "Re: Dynamic page security authorization?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|