2009年7月22日 星期三

Security權限設定Modify ACL Permission with cacls command(cacls與xcacls命令的使用)

Example:
C:\cacls c:\temp /E /G "Domain Users":R Users:R /R Everyone

/e Edit ACL instead of replacing it.
/g user|group:perm Grant specified user or group access permissions.
perm can be:
r Read
c Change (write)
f Full control
/r user Revoke specified user's or group's access permissions.
/p user|group:perm Replace specified user's or group's access permissions.
perm can be:
n None
r Read
c Change (write)
f Full control

[Reference]
Undocumented CACLS: Group Permissions Capabilities
http://support.microsoft.com/kb/162786/en-us


How to Use CACLS.EXE in a Batch File
http://support.microsoft.com/kb/135268

Microsoft Technet - Command-line reference - Cacls
http://technet.microsoft.com/en-us/library/bb490872.aspx

How to use Xcacls.exe to modify NTFS permissions
http://support.microsoft.com/kb/318754

沒有留言:

SQL Server Planning, Pricing and License

  Server-CALs授權模式 1.需購買的量應該是所有終端用戶的電腦 例如:一台Data warehouse主機 與 一台Web報表主機,但公司有50人或電腦會連進Web報表主機開啟報表,則應該每一台用戶端電腦都需要有CALs授權,Data warehouse主機購買Ser...