# Block direct access to all PHP files except specified ones Require all denied # Allow specific PHP files to be accessed Require all granted # Show forbidden message for blocked files ErrorDocument 403 "403 Forbidden: Direct access to this file is not allowed." # Hide .htaccess files from being accessed directly Require all denied # Prevent directory browsing Options -Indexes # Additional security headers (if mod_headers is available) Header always set X-Content-Type-Options nosniff Header always set X-Frame-Options DENY Header always set X-XSS-Protection "1; mode=block" DirectoryIndex index.php Options -Indexes ErrorDocument 403 /index.php ErrorDocument 404 /index.php Undergraduate Studies News – Computer Science and Engineering Department

Department of Computer Science & Engineering

University of Ioannina