latest

Attachment Download Configuration and Usage

Attachment Download provides a fixed URL for attachments. By applying anonymous user permissions, users can view specified attachments without logging in.

Attachment Download Configuration

In this section, the administrator can specify the anonymous user permission and the spaces for which users can view or download attachments without being required to log in. These users can view attachments according to the space and page view permissions assigned to the user that the administrator defines in the Anonymous User input field. Logged in users are subject to their usual Confluence space and page permissions.

Complete the following to configure the plugin:

  1. Select the Confluence Administration icon in the upper left corner, and select Manage Apps from the drop-down menu.

    If prompted, re-enter your administrator password after selecting Manage Apps.
  2. Click on Attachment Download Plugin, and select Configure from the choices that appear.

    attachdownload configure
  3. Set the?Attachment Download Configuration?parameters by filling out the Anonymous User and Anon Accessible Spaces fields.

    attachdownload parameters
  4. Click Save at the bottom of the form to save the parameters.

Attachment Download Configuration Parameters

Parameters

Parameter Description Type Default

Anonymous User

The user whose view-permissions you want to apply for anonymous users, e.g. guest.

string

Admin

Anon Accessible Spaces

Enter the space key(s) for which you want to allow anonymous access to view attachments. To enter a space key, click the Plus button.

string

Logged in users are subject to normal restrictions if they are not mentioned in the Anonymous User parameter.

Accessing Attachments

Attachments can now be referenced from a fixed URL: 'http://www.domain.com/plugins/servlet/attachment-download/SPACEKEY/Page+Title/filename.ext', where "domain", "SPACEKEY", "Page+Title", and "filename.ext" are changed to relate to your attachment and space.

For example, 'http://www.adaptavist.com/plugins/servlet/attachment-download/news/Latest+News/banner.png,' where the website is www.adaptavist.com, the space is called news, the page is called Latest News, and the attachment is an image called banner, which has a PNG file type.

Users can either log in to access this attachment or, if not logged in, view the attachments with anonymous user permissions.