Re: find out if the user has enough rights to open a page

From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 05/26/05

  • Next message: Thammarat Charoenchai.: "Re: Folder Authorization."
    Date: Thu, 26 May 2005 09:32:19 -0500
    
    

    It depends a great deal on how the authorization is being done. Are you
    using Windows ACLs or a custom role-based mechanism or something else?

    Joe K.

    "Corno" <Corno@dds%FAKE%.nl> wrote in message
    news:eNW0pJfYFHA.796@TK2MSFTNGP10.phx.gbl...
    > Hi all,
    >
    > How do I find out if the current visitor of my page has enough rights to
    > open another page on the same server?
    > I need this to show a link to that page only when the visitor can actually
    > visit that page and will not get an 'access denied' message.
    >
    > IOW, I'm looking for the implementation of the following function:
    >
    > Public Function CurrentUserCanOpenPage(ByVal TheURL As String) As Boolean
    > 'determine if the current user can open the page with the given URL
    > End Function
    >
    > TIA,
    >
    > Corno
    >


  • Next message: Thammarat Charoenchai.: "Re: Folder Authorization."

    Relevant Pages

    • Re: wonky (order matters?)
      ... then it applies the allow or deny based on the match. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Active Directory vs SqlServer which way to go?
      ... Joe when you say mapping how would i go by mapping ... > capable and includes several additional levels of indirection to support ... > more granularity in your authorization (which can lead to better ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Windows Accounts added to group in ADAM
      ... Joe and Dmitri, ... authorization, and relying on users authenticated in NT domains or AD to ... assign membership to these ADAM groups. ...
      (microsoft.public.windows.server.active_directory)
    • Re: Authorization not working
      ... Hi Joe, ... Implement Windows Authentication and Authorization in ASP.NET ... Authorizing Users and Roles ...
      (microsoft.public.dotnet.framework.aspnet.security)