Checks if a user is allowed to view a file in the frontend before displaying the file/sending the file to the users browser. The functionality is included via a .htaccess file using the rewrite module, ensuring that no internal file can be accessed witho