{"record":{"id":"5933ee37de0e16f4","repo":"octobercms/october","slug":"file-access-halted","errorCode":null,"errorMessage":"File access halted","messagePattern":"File access halted","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/backend/controllers/Files.php","lineNumber":210,"sourceCode":"\n        /**\n         * @event backend.files.get\n         * Fires before a file is output.\n         *\n         * Example usage:\n         *\n         *     Event::listen('backend.files.get', function ((\\System\\Models\\File) $file) {\n         *         // Block access to this file\n         *         return false;\n         *\n         *         // Or signal access denied\n         *         throw new \\ForbiddenException;\n         *     });\n         *\n         */\n        $response = Event::fire('backend.files.get', [$file], true);\n        if ($response === false) {\n            throw new ApplicationException('File access halted');\n        }\n\n        return $file;\n    }\n}\n","sourceCodeStart":192,"sourceCodeEnd":216,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/controllers/Files.php#L192-L216","documentation":"Error \"File access halted\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/controllers/Files.php:210 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}