Accessing the ACL of a file?

From: Christopher Zacharias (czacharias@logicalsolutions.net)
Date: 07/26/02


From: "Christopher Zacharias" <czacharias@logicalsolutions.net>
Date: Fri, 26 Jul 2002 07:05:09 -0700


Bottom line: Is it possible to query the ACL for a given
file to determine if a given user has read permissions for
the file without having to open the file or request the
file?

I made a post earlier about trying to predict whether a
user will have access to a resource. I figured that maybe
I should rephrase (after learning more about the subject)
what specifically I mean.

I would like to be able to dynamically hide controls and
links to resources that a user does not have access to.
That way, instead of seeing them and getting an "Access
Denied" error when trying to request them, the users would
simply never see the links to the resource to begin with.

Thanks.

- Christopher Zacharias
 



Relevant Pages

  • RE: 401.3 Unauthorized: Unauthorized due to ACL on resource
    ... Thank you for posting in SBS newsgroup. ... Unauthorized due to ACL on resource" when you access ... permissions from parent to propagate to this object check box. ...
    (microsoft.public.windows.server.sbs)
  • Re: Workgroup Messaging Message Configuration
    ... Project MVP ... Visit http://project.mvps.org/ for the FAQs and additional information ... The first time I did that, a status request was displayed ... I sent the request to the resource at ...
    (microsoft.public.project)
  • Resource-based security with IPermission?
    ... The permissions should be assigned to the resource and the ... So I looked into extending the PrincipalPermission. ... GrantedPermissions, this is easy enough, however I wondered how or if ...
    (microsoft.public.dotnet.security)
  • Re: if-modified-since question (protocol problem?)
    ... request, but in response you are interested only if your request ... To base the decision on whether there is something 'new to show' would require knowledge about something 'old' - a cached resource. ... No Last-Modified header is sent in the response, ...
    (comp.infosystems.www.authoring.html)
  • Re: Advice on long running processes
    ... The biggest differences between run-and-exit vs. long running processes are ... resource management and error recovery. ... for request in getNextRequest: ... The other big thing is error recovery. ...
    (comp.lang.python)