Private files and galleries are secure files on your site that aren't meant to be displayed to the public, but still need to be accessible online for certain constituents. A good example is a batch of documents for your board of trustees or galleries of images of students that can only be displayed internally to other students.
In this Article
Display a private file
To display a private file on your website, first upload it to the “Private” section of Resources. The Private Resources section works just like the Public section: you can create folders to organize the files stored there, and put files into galleries in order to display them on the site. The big distinction is that Public resources are public - that is, they’re always accessible to everybody - while Private resources are restricted to only be visible to selected users.
Important Note
A private resource must be in a gallery in order to appear on the site.
Manage Gallery privacy settings
A private gallery can be displayed on a site using a Composer Resource, Image, or Video element. First, it's necessary to set the Privacy for that gallery. From the three-dot Action Menu for the gallery, choose Settings.
Then choose the Privacy tab. From here, you can select whether only admins can view the contents of the gallery, or some or all constituents.
When you select "Constituents Only," the gallery will be visible to anyone who has a portal account and is logged into the site. To restrict that further, choose from the groups in the list that appears.
It's a good idea to display private resources on a page that is already restricted to the role or groups you have chosen for the gallery privacy. Otherwise, anyone who is not authorized to see the resource who visits a page with the resource will see the message "You are not authorized to access this resource."
Comments
Please Sign in to leave a comment if you don't see the comment box below.