Re: Dynamic page security authorization?
From: Pat (naijacoder_at_hotmail.com)
Date: 08/31/05
- Next message: Dominick Baier [DevelopMentor]: "Re: Dynamic page security authorization?"
- Previous message: Pat: "Re: how to get all groups from AD?"
- In reply to: Craig Vedur: "Dynamic page security authorization?"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: Dynamic page security authorization?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 31 Aug 2005 16:03:45 +1000
Craig you could have a folder called Admin and under the Admin folder add
the neccesary (aspx)files you want to protect.
And later apply the neccesary Authorization.
Hope that helps
Look at this article at:- http://dotnetbips.com/displayarticle.aspx?id=117
Patrick
"Craig Vedur" <CraigVedur@discussions.microsoft.com> wrote in message
news:729426F6-87F0-470D-932E-87908C317C4B@microsoft.com...
> 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: Dominick Baier [DevelopMentor]: "Re: Dynamic page security authorization?"
- Previous message: Pat: "Re: how to get all groups from AD?"
- In reply to: Craig Vedur: "Dynamic page security authorization?"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: Dynamic page security authorization?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|