Skip to main content Skip to complementary content

Content library: associated items

The tables in this document show the fields available for the Contents and Security rules property groups.

By default, only some of the fields are displayed. You can use the column selector (Table ) to add fields.

Tip noteYou can adjust the column width by dragging the header border.

Contents

Contents is available from Associated items when you edit a content library.

The overview contains a list of the contents that are associated with the selected content library.

The Contents property group fields
Property Description
File name The name of the object file.
Location The location where the object is saved: \Content\<Content library name>\<file name>.
URL path The object's URL path: /content/<Content library name>/<file name>.
File size (KB) The file size in kilobytes.
ID The ID of the object.
Created The Date and time when the object was created.
Last modified The Date and time when the object was last modified.
Modified by

By whom the object was modified.

Content cache-controls

There are potential security risks with cached content. Browsers may store a local cached copy of content received from web servers. Some browsers cache content accessed via HTTP/HTTPS. If sensitive information in application responses is stored in the local cache, this information can be retrieved by other users who have access to the same computer at a future time.

With content cache-controls, you can modify the cache behavior of the browser to prevent such risks.

The Content cache-control property group fields
Property Description
name Name of the content cache-control.
regex filter

Regular expression to filter out matching URLs to which the cache settings are applied:

(.*?) - matches everything

(resources|appcontent) - matches requests containing "resources" OR "appcontent" in the URI, for example:

/resources/hub/img/core/static/Default_thumbnail_app.svg

/appcontent/126610c6-1a6f-4d1b-8126-a7fbb040b44d/Icon_License_grey.png

For repository use the standard System.Text.RegularExpressions.Regex class. The comparison is made by :

regex = new Regex(contentCacheControl.Filter)

regex.IsMatch(httpRequest.RawUrl);

For hub it is the standard nodejs RegExp:

regex = new RegExp(contentCacheControl.Filter)

regex.test("/api/hub" + res.req.originalUrl);

maxAge Maximum age for cached content to be included. The default value 3600 (seconds) can be edited.
cachePolicy

Public, max-age: The cached response is sent without revalidation.

Public, must-revalidate, max-age=0: Requires a cache to revalidate stale responses before using a cached response.

Private, max-age: The cached response is sent without revalidation. All or part of the response message is intended for a single user and must not be cached by a shared cache.

Private, must-revalidate, max-age=0: A normally uncacheable response is cacheable, but requires a cache to revalidate stale responses before using a cached response. All or part of the response message is intended for a single user and must not be cached by a shared cache.

No-store: The response cannot be reused.

ID ID of the object.
Created Date and time when the object was created.
Last modified Date and time when the object was last modified.
Modified by

By whom the object was modified.

Before modifying the cache-controls

Please note the following before modifying cache control headers:

  • It is generally not recommended to manually alter the cache-control headers.

  • Make sure that you understand how the browser caching behavior is affected by the changes.

  • Prior to applying any changes in a production environment, evaluate the risks of the changes.

Linking a new content cache-control

The cache-control has no owner. It has a mandatory reference to a content library and will only affect resources in that library that match the regular expression in the regex filter setting.

Do the following:

  1. In the QMC, open Content libraries.

  2. Double-click the content library to which you want to add content cache-controls.

  3. Under Associated items, open Content cache-controls.

  4. Click Link new content cache control.

  5. Fill in the fields.

    name and regex filter are mandatory. maxAge is stated in seconds and can be edited.

  6. Click Add.

See also: Configuring content cache-controls

User access

User access is available from Associated items when you edit a resource.

The preview shows a grid of the target resources and the source users who have access to the selected items.

Depending on rights, you can either edit or view a user, a resource, or an associated rule.

Security rules

Security rules is available from Associated items when you edit a content library. The overview contains a list of the security rules that are associated with the selected content library.

The Security rules property group contains the user condition properties.

User condition properties
Property Description
Name

The name of the security rule.

Description The description of what the rule does.
Resource filter

The ID for the rule.

Actions The permitted actions for the rule.
Disabled

Status values: Yes or No.

Context The security rule context (QMC, Hub, or Both).
Type The security rule type (Default, Read only, or Custom).
Conditions The security rule conditions.
ID The ID of the security rule.
Created Date and time when the security rule was created.
Last modified Date and time when the security rule was last modified.
Modified by

By whom the security rule was modified.

Tip noteIf you make a selection in the overview and click Edit in the action bar, the edit security page is displayed.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!