SEARCH RESULTS
 
Showing 1-1 of 1 records
1
 
Expand article

Setting file ACLs with PowerShell part 5

2008-01-09 04:53:00 by Keith Brown in Security Briefs
 
...dacl = (dir foo.txt).GetAccessControl newRule = New-Object Security.AccessControl.FileSystemAccessRule "keith", Modify, Allow modified = $false dacl.ModifyAccessRule("Add", $newRule, [ref]$modified dir foo.txt).SetAccessControl($dacl All I've got left to explain is the last line of code. It's important to note that when you're tweaking ACLs,...
 
 
 
 
 
 
Showing 1-1 of 1 records
1
 
TOP SEARCH
Expand / MinimizeClose Widget
  •  
RECENT SEARCH
Expand / Minimize
  •  
RELATED VIDEO
Expand / Minimize
SecurityRatty FAQ
Sergey Zarubin, 31yo
CISSP, CCSP
Moscow, Russia