Re: Looking for a VB Script to set share permissions

From: kajaa (kajaa@eastday.com)
Date: 02/21/03


From: "kajaa" <kajaa@eastday.com>
Date: Fri, 21 Feb 2003 14:09:05 +0800


because, I need to share almost all partitions in both NTFS and FAT file
systems in local network as a repository, while no password requested by
guest or other users, so, I restrict accesses to those shares to
administrators, and read only (there is no need to write from a network
sesssion).

for there are more than nearly 20 shares to be set, and perhaps to be reset
in the future, so, make a script or .cmd to grant or revoke those shares
programly or batchly will be more convenient.

-- 
"David Candy" <david@mvps.org> 写入消息新闻
:enUvXzW2CHA.1904@TK2MSFTNGP12.phx.gbl...
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.


Relevant Pages