Home page logo

pauldotcom logo PaulDotCom mailing list archives

Folder and File Permission
From: j2mccluggage at adelphia.net (Jody & Jennifer McCluggage)
Date: Tue, 2 Jun 2009 19:55:06 -0400


You may want to check out PowerShell.  It is very flexible and has a
"get-acl" commandlet that will return the permission on a list of folders
and files.  Here is a quick rough example:

get-childitem C:\example -recurse | get-acl  | select-object
path,owner,group,accesstostring | sort-object owner | export-csv

This command will pipe out to a csv file the Owner, Group, Path, and
Permission string (sorted by owner) for each folder and file for the given
parent directory.  If you are looking just for specific permissions, you can
probably pipe it out to a where-object command.  Of course, depending upon
the size of the directory you are scanning, this may take awhile to run.


-----Original Message-----
From: pauldotcom-bounces at mail.pauldotcom.com
[mailto:pauldotcom-bounces at mail.pauldotcom.com] On Behalf Of
infolookup at gmail.com
Sent: Tuesday, June 02, 2009 6:13 PM
To: PaulDotCom Security Weekly Mailing List
Subject: [Pauldotcom] Folder and File Permission

Hello All:

I am looking for a way to scan all the files and folder on a set of Windows
share to see who has read/write/deny permission. I tried using accessenum
but since its so much individual files its kind of messy to go through.

What are others using when the are giving a network and have to record who
has what access?
Sent from my Verizon Wireless BlackBerry
Pauldotcom mailing list
Pauldotcom at mail.pauldotcom.com
Main Web Site: http://pauldotcom.com
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.51/2151 - Release Date: 06/02/09

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]