‪TYPO3CMS  10.4
TYPO3\CMS\Core\Resource\Hook\FileDumpEIDHookInterface Interface Reference

Public Member Functions

ResponseInterface null checkFileAccess (ResourceInterface $file)
 

Detailed Description

Interface for FileDumpEID Hook to perform some custom security/access checks when accessing file thought FileDumpEID

Definition at line 25 of file FileDumpEIDHookInterface.php.

Member Function Documentation

◆ checkFileAccess()

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

Perform custom security/access when accessing file Method should issue 403 if access is rejected or 401 if authentication is required via an authorized HTTP authorization scheme. A 401 header must be accompanied by a www-authenticate header!

Parameters
\TYPO3\CMS\Core\Resource\ResourceInterface$file
Returns
‪ResponseInterface|null