share and ntfs permissions 
Author Message
 share and ntfs permissions

Is there a way to list the share and ntfs permissions for a directory on a
w2000 server using jscript and wsh?


Tue, 22 Jul 2003 02:23:14 GMT  
 share and ntfs permissions
Hi,

You can get ntfs permissions by using Cacls in your script. For share
permissions, it seems that it is not that easy (or even possible) to do it with
adsi or wsh. Win32 scripting journal recommends the use of Activeperl's
netresource in order to get this info. (activeperl is free and documentation is
in the download from www.activestate.com).

Quote:
-----Original Message-----

Is there a way to list the share and ntfs permissions for a directory on a
w2000 server using jscript and wsh?

.



Sun, 27 Jul 2003 23:43:56 GMT  
 share and ntfs permissions
CACLS seems what I'm searching for. Shares are less important.
Thanks for your reply.


Hi,

You can get ntfs permissions by using Cacls in your script. For share
permissions, it seems that it is not that easy (or even possible) to do it
with
adsi or wsh. Win32 scripting journal recommends the use of Activeperl's
netresource in order to get this info. (activeperl is free and documentation
is
in the download from www.activestate.com).

Quote:
-----Original Message-----

Is there a way to list the share and ntfs permissions for a directory on a
w2000 server using jscript and wsh?

.



Mon, 28 Jul 2003 05:46:07 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Share and NTFS Permissions

2. Reading Share and NTFS Permissions

3. NTFS and Share Permissions

4. VbScript DeleteFile method failing due to permissions on W2KS NTFS with Everyone Full permissions

5. enumerating shares and share permissions with vbscript

6. share permissions and enumerating shares

7. List shares and share permissions?

8. Creating a share with share permissions

9. Using WMI and VBS to share folders and set share / NTFS permissions....

10. Ntfs Security And making shares

11. How read NT NTFS Permissions via ASP, Active Server Pages?, pcumming

12. Setting NTFS File Permissions

 

 
Powered by phpBB® Forum Software