Dynamic page security authorization?

From: Craig Vedur (CraigVedur_at_discussions.microsoft.com)
Date: 08/31/05


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



Relevant Pages

  • Re: Use of the Registry was Re: Conext Menus
    ... Doesn't look like you can include any sort of menu in your web page. ... for a web app. ... Google Maps uses AJAX, which lets you click and drag to scroll the map around. ...
    (comp.lang.cobol)
  • Re: Computer.FileSystem.DeleteFile not working over network
    ... All modern browsers are specifically written to prevent this sort of direct ... E.g. if a web app can delete ... Mark Rae ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Computer.FileSystem.DeleteFile not working over network
    ... don't want to move between applications, so a web application has been ... All modern browsers are specifically written to prevent this sort of direct interaction with the hardware and software of the machine on which they're running, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [PHP] Looking for an Architectural Guru
    ... On Thu, May 3, 2007 9:24 am, bruce wrote: ... You might get more response if you include some kind of idea of what ... sort of web app you are building... ...
    (php.general)
  • Sorting a list of objects by multiple attributes
    ... objects by multiple attributes. ... I'd like to be able to arbitrarily sort by any combination of those in ... converting a web app from using SQL to using an ORM only and so the ... In SQL this is easy enough to accomplish, ...
    (comp.lang.python)