1. Use Resource Components with site url.
You can add one site collection url to one resource component and the policy can include multiple Resource Components to clock multiple site collection. See screenshots below.
2. Use expression in advanced condition in the policy.
You can add expression on the urls in advanced condition in the policy as in the below screenshot.
3. Use SharePoint site collection site property bag value or sub-site web property value.
a. First, add the SharePoint site collection site property bag key in the SharePoint Enforcer configuration.xml file. Bounce the enforcer after the change.
Example is below.
<PropertyBag disabled="false" level="SiteCollection">
<Property disabled="false" name="SensitiveSiteCollection" attributename="SensitiveSiteCollection" />
</PropertyBag>
<PropertyBag disabled="false" level="SubSite">
<Property disabled="false" name="SensitiveSubSite" attributename="SensitiveSubSite" />
</PropertyBag>
b. Add the property to site collection property bag.
No comments:
Post a Comment