summaryrefslogtreecommitdiff
path: root/doc/security/user_file_uploads.md
blob: 98493d33b001ac90f4f5fee4a5b0f85035efad8d (plain)
1
2
3
4
5
6
7
8
9
10
11
# User File Uploads

Images attached to issues, merge requests or comments do not require authentication
to be viewed if someone knows the direct URL. This direct URL contains a random
32-character ID that prevents unauthorized people from guessing the URL to an
image containing sensitive information. We don't enable authentication because
these images need to be visible in the body of notification emails, which are
often read from email clients that are not authenticated with GitLab, like
Outlook, Apple Mail, or the Mail app on your mobile device.

Note that non-image attachments do require authentication to be viewed.