TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Resource\Hook\FileDumpEIDHookInterface Interface Reference

Public Member Functions

 checkFileAccess (\TYPO3\CMS\Core\Resource\ResourceInterface $file)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Interface for FileDumpEID Hook to perform some custom security/access checks when accessing file thought FileDumpEID

Definition at line 22 of file FileDumpEIDHookInterface.php.

Member Function Documentation

◆ checkFileAccess()

TYPO3\CMS\Core\Resource\Hook\FileDumpEIDHookInterface::checkFileAccess ( \TYPO3\CMS\Core\Resource\ResourceInterface  $file)

Perform custom security/access when accessing file Method should issue 403 if access is rejected or 401 if authentication is required

Parameters
\TYPO3\CMS\Core\Resource\ResourceInterface$file
Returns
void