[FEATURE] Allow Storages outside the webroot 60/27760/11
authorSteffen Ritter <info@rs-websystems.de>
Thu, 20 Feb 2014 17:26:20 +0000 (18:26 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Tue, 11 Mar 2014 13:08:45 +0000 (14:08 +0100)
commit64838420c8fd50de82c7726dcbe6ba6c6a6c7095
treea009981eff4f7be84d2bfac5224a713b4ba6a7f7
parent2b92b5bda0114e2f7048652fc751926d4b4aab55
[FEATURE] Allow Storages outside the webroot

Storages can be marked as not public or be outside of webroot.
There are no direct links to the files posible.

This change adds a eID implementation to create urls to these files.
It also implements a hook in het eID dispatcher that makes is possible
to add custom security/access checks when delivering files.

Releases: 6.2
Resolves: #36420
Change-Id: Ie7fc9c8a674a3200ea2b29d1adc17327d10bd6e5
Reviewed-on: https://review.typo3.org/27760
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/core/Classes/Resource/AbstractFile.php
typo3/sysext/core/Classes/Resource/AbstractRepository.php
typo3/sysext/core/Classes/Resource/Driver/AbstractHierarchicalFilesystemDriver.php
typo3/sysext/core/Classes/Resource/Driver/DriverInterface.php
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/Hook/FileDumpEIDHookInterface.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Resources/PHP/FileDumpEID.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/Driver/LocalDriverTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
typo3/sysext/core/ext_localconf.php