basitçe htaccess e index.php harici hiçbir dosyanın çalıştırılmamasını da söyleyebiliriz,
<FilesMatch "(?i)\.(php[0-9]?|phtml)$">
Require all denied
</FilesMatch>
<FilesMatch "index.php">
Require all granted
</FilesMatch>sürekli tarama yapacak bir kod büyük projelerde performans sorunu yaşatabilir.