C
Craig Vedur
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
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