Re: Looking for a VB Script to set share permissions

From: David Candy (david@mvps.org)
Date: 02/21/03


From: "David Candy" <david@mvps.org>
Date: Fri, 21 Feb 2003 16:48:11 +1100


I don't think you can. The best I can find is a way of copying permissions from one share to another. Email me if you want more info on this particular method.

Shares are an old way of doing network security. One would normally give everybody full access and set permissions on the NTFS file system.

Why do you want administrators Read Only only.

-- 
Ozzie war criminal charged http://www.smh.com.au/articles/2003/02/20/1045638427919.html
http://www.smh.com.au/yoursay/2003/02/20/index.html
http://www.idleworm.com/nws/2002/11/iraq2.shtml (This is a game)
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"kajaa" <kajaa@eastday.com> wrote in message news:#ioiHeW2CHA.2012@TK2MSFTNGP12.phx.gbl...
> so, how to set on the share?
> 
> IMHO, I am insterested in doing it programmly or batchly rather than doing
> it manualy, no matter what the method is setting on.
> 
> -- 
> 
> "David Candy" <david@mvps.org> 写入消息新闻
> :eN0Z7RW2CHA.2316@TK2MSFTNGP10.phx.gbl...
> You're setting permissions on the share not the disk.
> 


Relevant Pages

  • Re: HDD SECURITY
    ... Which likely would have lead you down the path of "how to set permissions on ... files and folders" - and a search for that in the built in Windows XP Help ... To set, view, change, or remove file and folder permissions ...
    (microsoft.public.windowsxp.security_admin)
  • Re: permissions
    ... > 1) You don't set permissions for individual menu items. ... > Group permissions that you set, and based on those selections certain ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: Folder security (basic question)
    ... the folders or drivers. ... set proper permissions to the user account. ... If you want to set permissions to several users, ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.windows.server.sbs)
  • Re: shared printer will not work?
    ... Right click the printer and select Sharing. ... Select the user you want to set permissions for. ... To further set permissions click the Advanced button. ... Double click the Windows firewall applet. ...
    (microsoft.public.windowsxp.general)
  • Re: 2nd hard drive passwords
    ... set permissions by using the ... cacls commandline utility. ... To use NTFS permissions the drive must not be FAT format. ... should have access is Account then issuing ...
    (microsoft.public.security)