Homec4science

Add a CanCDN flag to uploaded files

Authored by Mukunda Modell <mmodell@wikimedia.org> on Aug 8 2014, 03:56.

Description

Add a CanCDN flag to uploaded files

Summary:
CanCDN flag indicates that a file can be served + cached
via anonymous content distribution networks.

Once D10054 lands, any files that lack the CanCDN flag
will require a one-time-use token and headers will
prohibit cache to protect sensitive files from
unauthorized access.

This diff separates the CanCDN changes from the code that
enforces these restrictions in D10054 so that the changes
can be tested and refined independently.

Test Plan: Work in progress

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: rush898, qgil, epriestley, aklapper, Korvin

Maniphest Tasks: T5685

Differential Revision: https://secure.phabricator.com/D10166

Details

Committed
epriestley <git@epriestley.com>Aug 8 2014, 03:56
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc0585b7a34ed: Fix Phrequent duration accounting
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH12aaa942acc5: Add a CanCDN flag to uploaded files (authored by Mukunda Modell <mmodell@wikimedia.org>).Aug 8 2014, 03:56