FileDumpEIDHookInterface
Interface for FileDumpEID Hook to perform some custom security/access checks when accessing file thought FileDumpEID
since TYPO3 v11 LTS, will be removed in TYPO3 v12.0. Use the PSR-14-based ModifyFileDumpEvent instead.
Table of Contents
Methods
- checkFileAccess() : ResponseInterface|null
- 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.
Methods
checkFileAccess()
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.
public
checkFileAccess(ResourceInterface $file) : ResponseInterface|null
A 401 header must be accompanied by a www-authenticate header!
Parameters
- $file : ResourceInterface