6 replies
by labrat Accepted solution
by tcleverley Accepted solution
by muszyngr Accepted solution
we would also like to know this, for all of you none TechRepublic members if you know of a solution or are reading this 10 years in the future and wanna know if we ever figured it out, here's my email
muszyngr @ yahoo dot com
by brenton keegan Accepted solution
It would be no small task to build a system to handle this, but it could be done.
First thing I would do is limit the scope of what you want searched. First thing I would do is enumerate the folders on a drive or folder. This link describes how to enumerate files within a folder. It's likely this could be modified to enumerate folders:
https://www.microsoft.com/technet/scriptcenter/guide/sas_scr_brxn.mspx?mfr=true
Next thing you would want to do is gather information on the security descriptors of each folder found. If you wanted to have an input of a group you could then have it search the trustees of a given folder, looking for the specified trustee.
This explains more:
http://technet.microsoft.com/en-us/magazine/2006.05.scriptingguy.aspx
This explains how security descriptors work:
http://technet.microsoft.com/en-us/library/cc781716%28WS.10%29.aspx
However you might want to gather all information on all trustees of all folders. In that case I'd dump the info into some kinda of database.
by screen gems Accepted solution
by lepide Accepted solution
Try doing it via vbscript.
1. Read out all Shares and there specified Groups and write data into dictionary object.
2. Read out all AD Groups and Compare them amongst access groups
3. write logfile with needed Info about AD Groups who are not assigned to any Share
Or completely change your naming concept to a more identifying convention like
country-location_sharepath_accessright
Example:
Country is US, Location is Boston, Sharepath is corporate-it, AccessRight is Edit (read, write, delete)
-> maybe would be
US-BOS_Corporate-IT_ED ===>>> EDIT rights on Corporate-IT
US-BOS_Corporate-IT_RD ===>>> READ rights on Corporate-IT
US-BOS_Corporate-IT_LI ===>>> LIST rights on Corporate-IT to browse to a specific subfolder w/o being able to open other files.
Piyush
Lepide.com
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending