# PHP dosyalarının çalışmasını engelle
<FilesMatch "\.php$">
    Deny from all
</FilesMatch>

# Diğer tehlikeli dosya türlerini engelle
<FilesMatch "\.(phtml|php3|php4|php5|php6|phps|pht|phar|phpt)$">
    Deny from all
</FilesMatch>

# Dizin listelemeyi engelle
Options -Indexes

# Sadece belirli dosya türlerine izin ver
<FilesMatch "\.(jpg|jpeg|png|gif|webp|mp4|webm)$">
    Allow from all
</FilesMatch>