| Name | Access Rights Filesystem Crawler |
|---|---|
| Vendor | brox IT-Solutions Gmbh |
| Authors | |
| Homepage | http://www.brox.de |
| Issue Management | http://support.eccenca.com |
| Continuous Integration | n/a |
| Categories | Crawler |
| Most Recent Version (see older versions) | 0.5.0 |
| Availability (see older versions) | eccenca / SMILA |
| State | |
| Support | |
| License | Eclipse Public License v1.0 |
| Price | |
| Release Docs | |
| Java API Docs | n/a |
| Download Source | |
| Download JAR |
Introduction
The Access Rights Filesystem crawler is an extension of the standard Filesystem crawler in SMILA and is able to extract file access security information aditionaly. Hence it is possible to use it as a drop in replacement.
For instructions and configuration details of standard Filesystem crawler see the documentation on smila wiki page.
Supported File Systems
For file systems currently not supported the crawler returns an empty security attribute value.
Configuration
The crawler lets you extract the file access rights in two different formats:
- AccessTree
- AccessList
Both suppor the flag ExpandAccounts, which -- if set to true -- will recoursivly expand all groups down to its users.
This usful, when having to check the access rights and only the distinct user is known. Otherwise one would have to get all his groups and check against of of these.
AccessTree
This extracts the full information contained in the ACLs. Each Node contains the
- type (allow, deny, error)
- access mask (RWX, Read Write eXecute)
- (hierarchical) account info
If ExpandsAccounts is true the hierarchical structure of Records is used to represent the user/group hierarchy.
AccessList
The AccessTree format differs in two ways
- it will only return those accounts that match the given access mask
- when ExpandsAccounts is true the accounts are returned as a list and not a hierarchical structure
The parameter AuthorityFilter lets you ....
Crawling Configuration Sample
An example of using Access Rights Filesystem Crawler is covered in How to use Extended Filesystem crawler page.
Defining Schema: org.eccenca.connectivity.framework.crawler.fs/schemas/FSDataSourceConnectionConfigSchema.xsd
<DataSourceConnectionConfig> <DataSourceID>file</DataSourceID> <SchemaID>org.eccenca.connectivity.framework.crawler.fs</SchemaID> <DataConnectionID> <Crawler>FSCrawler</Crawler> </DataConnectionID> <DeltaIndexing>disabled</DeltaIndexing> <Attributes> <!-- ordinary filesystem attributes like in FileSystem crawler--> <Attribute HashAttribute="true" Name="LastModifiedDate" Type="Date"> <FileAttributes>LastModifiedDate</FileAttributes> </Attribute> <Attribute Name="Filename" Type="String"> <FileAttributes>Name</FileAttributes> </Attribute> <Attribute KeyAttribute="true" Name="Path" Type="String"> <FileAttributes>Path</FileAttributes> </Attribute> <Attribute Attachment="true" Name="Content" Type="String"> <FileAttributes>Content</FileAttributes> </Attribute> <Attribute Name="Extension" Type="String"> <FileAttributes>FileExtension</FileAttributes> </Attribute> <Attribute Name="Size" Type="String"> <FileAttributes>Size</FileAttributes> </Attribute> <!-- additional security attributes used--> <Attribute Type="String" Name="AccessTreeNotExpanded"> <AccessTree ExpandAccounts="false"/> </Attribute> <Attribute Type="String" Name="AccessTreeExpanded"> <AccessTree ExpandAccounts="true"/> </Attribute> <Attribute Type="String" Name="AccessListNotExpanded"> <AccessList ExpandAccounts="false" Mask=" W "/> </Attribute> <Attribute Type="String" Name="AccessListExpanded"> <AccessList ExpandAccounts="true" Mask=" W "/> </Attribute> </Attributes> <Process> <BaseDir>c:\data</BaseDir> <Filter CaseSensitive="false" Recursive="true"> <Include Name="*.txt"/> <Include Name="*.htm"/> <Include Name="*.html"/> <Include Name="*.xml"/> </Filter> </Process> </DataSourceConnectionConfig>
Sample result record XML : record.xml
