Metadata security works great, especially if all the documents in a library share the same metadata properties. But sometimes we want some documents to have their own special metadata properties. SharePoint content types allow us to do this. Each SharePoint content type we define can have its own special metadata properties (columns). For example, let’s say we have a Budget Document content type with a metadata property of “Business Function” with possible values of marketing, R&D, finance etc., and, and we have a Travel Expense content type with a metadata property of “Approving Manager”. We may have both types of documents in the same SharePoint document library. If we have both of these content types in the same document library it would be difficult to base security decisions on an assumption that all documents have the same metadata properties.
That’s why we decided to support content types as a security object in our Metadata Security for SharePoint product. In the above example, let’s say only a specific group of financial analysts should be able to change budget documents which belong to the Finance function, and only the sales people should have access to the Travel Expense form. Let’s configure the Budget Document security options:
1. Define a site column called Business Function.
2. Define the Budget Document as a site content type. Add the Business Function site column to the content type’s columns.
3. Configure an Information Management Policy in the particular library you are using -> select Information Management Policy from the Document Library settings, and select the Budget Document Content Type as the Content type for this policy.
4. In the information management policy, define the Titus Labs Metadata Security rule -> select Business Function as the Field Name and Finance as the Value.
5. Define the Permission Set (Permission Set 1) that will assign the permissions to the correct analysts when the rule is true (ie Business Function equals Finance).
Once this is done all existing Budget Documents in the library, as well as any new Budget Documents that are added, that have Business Function equal to Finance will have these permissions automatically assigned. If we look at the permissions for the “Budget Draft” document (created using the Budget Document content type) we can see that it has the permissions assigned by the metadata rule.
As you can see this approach allows us to apply very specific security policy to content types within SharePoint.