Enable page-based access control for web content pages
Typically, when you render content items in a web content viewer, access control enforcement on those content items is handled by Web Content Manager. However, we can use page-based access control to delegate access control enforcement to the web content page used to display the content.
Page-based access control can be specified for individual content associations of a page. When page-based access control is enabled for a specific association, Web Content Manager does not perform additional access control checks when the associated site area contains the rendered content. This content includes not only direct children of the associated site area but also any nested site areas and their related content. Instead, the access control enforcement layer assumes that the same level of access that is granted on the page also applies to the rendered content. The affected content also includes any content items or components that are loaded during the rendering of the target content item. As a result, rendering performance is improved. If the viewer renders content that is not contained in the associated site area, normal access control enforcement is performed.
Page-based access control affects only the access control enforcement that is triggered by the web content viewer. Other access paths, such as the access control used by the search crawler, are not affected. In addition, Web Content Manager resources like images that are loaded directly by the browser are also not affected.
Context processor plug-ins note: Context processor plug-ins used with the web content viewer run in the access control context of the initial page request. Changes made to the rendering context that might affect whether page-based access control is enabled are evaluated after all other context processor plug-ins complete their configuration.
- To enable page-based access control, ensure that the web content page is associated with a site area or folder in the web content system. We can manage content associations using the site toolbar or the Page Properties portlet.
- For each content association for which to enable page-based access control, select Use Portal Page Security for the association.
If the user creating the page does not have sufficient permissions to enable page-based access control, the check box is disabled. The following access rights must be defined:
- Administrator @ wcm_library, where wcm_library represents the library containing the content associated to the web content page.
- Administrator @ CONTENT_MAPPINGS
- Editor @ wcm_page, where wcm_page represents the web content page for which to enable page-based access.
Parent: Customize web content deliveryRelated: