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

From: Corno (Corno_at_dds%FAKE%.nl)
Date: 05/29/05

  • Next message: Joseph Bittman MCAD: "Re: Data source not visible by ASP.NET working process on IIS 6.0"
    Date: Sun, 29 May 2005 17:33:08 +0200
    
    

    Yes, I'm using Windows ACL. The webserver runs in an active directory and in
    the web.config of the pages I've configured access rights.
    How would I do it in that case?

    TIA,

    Corno

    "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
    in message news:e4lT7%23fYFHA.1868@TK2MSFTNGP14.phx.gbl...
    > 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: Joseph Bittman MCAD: "Re: Data source not visible by ASP.NET working process on IIS 6.0"