RE: Serving custom content based on NTFS permissions

From: Thomas Kincer (tkonline@microsoft.com)
Date: 07/11/02


From: tkonline@microsoft.com (Thomas Kincer)
Date: Wed, 10 Jul 2002 23:02:17 GMT


Generally, file system manipulation in ASP is done by making use of the
properties and methods exposed by the FileSystemObject. However, this
object does not contain any methods or properties relating to NTFS
permissions. As a result, there is no easy way to determine NTFS
permissions for a specific file system object from ASP.

I would recommend that you place the links into a database and generate
them dynamically based upon the user logged into your intranet. That way
you will not get pop-up prompts for authentication and you can finely tune
which user sees which link.

Thomas Kincer
Microsoft Developer Support
Internet Information Server

Please do not send email directly to this alias. This is our online account
name for newsgroup participation only.

========================================
This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
========================================



Relevant Pages

  • Re: Shared vs Security tab
    ... Dir1, Dir2, Dir3 with the rights that you want. ... You have the choice of creating file system permissions for each user ... Why do they have this shared tab? ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Software for User-Rights
    ... > On the file system? ... Then I assume you mean permissions, not rights. ...
    (comp.os.ms-windows.nt.admin.security)
  • RE: Rights Problem with IWAM and IUSR Accounts
    ... account name for newsgroup participation only.<< ... This posting is provided "AS IS" with no warranties, and confers no rights. ... | Access Permissions and the Edit Default button. ... | Whoops I forgot also go to Applications, choose VB Asp ...
    (microsoft.public.inetserver.iis.security)
  • Re: Permissions on filesystem via Group policy
    ... can use the Resultant Set of Policy mmc snapin to see exactly what Group ... you want to disable "inherited permissions" in the advanced page if you only ... > Right-click File System and press Add File. ... Use the security settings of that GPO to specify ...
    (microsoft.public.windows.group_policy)
  • Re: Linux for Kids
    ... so this is equivalent to Olin file and directory permissions then. ... Olin keeps it's permissions in the file system, ... Is it sort of attached to each file and folder? ...
    (comp.os.linux)

Quantcast