share anf file system permissions 
Author Message
 share anf file system permissions

I am new to VBScripting, and looking through documentation for building a
script to view/set share and NTFS permissions on directories. I see the
examples on FileSystemObject and understand it's concept and usage for the
most part. But I am not finding anything intuitive on setting share or NTFS
permissions on a directory. Any direction to some samples or assistance
would be much appreciated. Thanks.

-Tim



Mon, 28 Apr 2003 03:00:00 GMT  
 share anf file system permissions
You did not find anything intuitive on this, because the capability is not
native to vbscript or WSH. You will need to download and install ADSI from
the microsoft scripting site at:

    http://msdn.microsoft.com/scripting/

/Al


Quote:
> I am new to VBscripting, and looking through documentation for building a
> script to view/set share and NTFS permissions on directories. I see the
> examples on FileSystemObject and understand it's concept and usage for the
> most part. But I am not finding anything intuitive on setting share or
NTFS
> permissions on a directory. Any direction to some samples or assistance
> would be much appreciated. Thanks.

> -Tim



Tue, 29 Apr 2003 03:00:00 GMT  
 share anf file system permissions
Active Directory Services Interfaces 2.5 (downloads for Win9x and NT4)
http://www.microsoft.com/ntserver/nts/downloads/other/ADSI25/default.asp

You also need the ADSI SDK which includes AdsSecurity.dll.

I haven't had a need to use AdsSecurity.dll myself, so I don't if it is entirely appropriate for
what you asked about...

--
Michael Harris
Microsoft.MVP.Scripting
--

Quote:

> You did not find anything intuitive on this, because the capability is not
> native to vbscript or WSH. You will need to download and install ADSI from
> the microsoft scripting site at:

>     http://msdn.microsoft.com/scripting/

> /Al



> > I am new to VBscripting, and looking through documentation for building a
> > script to view/set share and NTFS permissions on directories. I see the
> > examples on FileSystemObject and understand it's concept and usage for the
> > most part. But I am not finding anything intuitive on setting share or
> NTFS
> > permissions on a directory. Any direction to some samples or assistance
> > would be much appreciated. Thanks.

> > -Tim



Tue, 29 Apr 2003 03:00:00 GMT  
 share anf file system permissions

Hi All,

 the ADSI SDK **IS** recommended, it contains some working samples about
setting security!

Best regards,
Manfred Braun

(Private)
Lange Roetterstrasse 7
D68167 Mannheim
Germany


(Remove the anti-spam-underscore to mail me!)


Quote:
> Active Directory Services Interfaces 2.5 (downloads for Win9x and NT4)
> http://www.microsoft.com/ntserver/nts/downloads/other/ADSI25/default.asp

> You also need the ADSI SDK which includes AdsSecurity.dll.

> I haven't had a need to use AdsSecurity.dll myself, so I don't if it is

entirely appropriate for
Quote:
> what you asked about...

> --
> Michael Harris
> Microsoft.MVP.Scripting
> --



Quote:
> > You did not find anything intuitive on this, because the capability is
not
> > native to vbscript or WSH. You will need to download and install ADSI
from
> > the microsoft scripting site at:

> >     http://msdn.microsoft.com/scripting/

> > /Al



> > > I am new to VBscripting, and looking through documentation for
building a
> > > script to view/set share and NTFS permissions on directories. I see
the
> > > examples on FileSystemObject and understand it's concept and usage for
the
> > > most part. But I am not finding anything intuitive on setting share or
> > NTFS
> > > permissions on a directory. Any direction to some samples or
assistance
> > > would be much appreciated. Thanks.

> > > -Tim



Thu, 01 May 2003 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. deleting files with file system object ( Permission denied error )

2. Changing File Permissions through File System Objects

3. enumerating shares and share permissions with vbscript

4. share permissions and enumerating shares

5. List shares and share permissions?

6. Creating a share with share permissions

7. Determining a users file permissions on an NT share

8. File Sharing and NTFS Permissions

9. Enumerating Permission set on File Share

10. File Share Permissions

11. File Permissions to remote shares

12. Enumerating Permissions set on a File Share

 

 
Powered by phpBB® Forum Software