1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 08:20:57 +01:00
phorge-phorge/src/applications/people
Mukunda Modell 12aaa942ac 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
2014-08-07 18:56:20 -07:00
..
application Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Rename Conduit classes 2014-07-25 10:54:15 +10:00
config Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
controller Add a CanCDN flag to uploaded files 2014-08-07 18:56:20 -07:00
customfield Rename PhabricatorApplication subclasses 2014-07-23 10:03:09 +10:00
editor Rename AphrontQueryException subclasses 2014-08-06 07:51:21 +10:00
event Rename PhabricatorApplication subclasses 2014-07-23 10:03:09 +10:00
garbagecollector Add a GC for user logs 2014-02-03 10:51:41 -08:00
lipsum Rename AphrontQueryException subclasses 2014-08-06 07:51:21 +10:00
markup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query Rename policy capabilities 2014-07-25 08:20:39 +10:00
search Rename PHIDType classes 2014-07-24 08:05:46 +10:00
storage Make the current session key a component of the CSRF token 2014-08-04 12:04:47 -07:00
typeahead Rename PhabricatorApplication subclasses 2014-07-23 10:03:09 +10:00
view Let users review their own account activity logs 2014-04-27 17:32:09 -07:00