Skip to content
Snippets Groups Projects

Document file upload random uuid security

This documents the current state of file uploads regarding random UUID and security. Fixes #3569 (closed)

Thanks to @DouweM for the language.

cc/ @sytses @JobV @axil Does this look OK?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 # User File Uploads
2
3 Images attached to issues, merge requests or comments do not require authentication
4 to be viewed if someone knows the direct URL. This direct URL contains a random
5 32-character ID that prevents unauthorized people from guessing the URL to an
6 image containing sensitive information. We don't enable authentication because
7 these images need to be visible in the body of notification emails, which are
8 often read from email clients that are not authenticated with GitLab, like
9 Outlook, Apple Mail, or the Mail app on your mobile device.
10
11 Note that non-image attachments do require authentication to be viewed.
  • Robert Speicher mentioned in commit ad5949b6

    mentioned in commit ad5949b6

  • Please register or sign in to reply
    Loading