.htaccess
Alıntı
<Files ^(*.jpeg|*.jpg|*.png|*.gif)>
order deny,allow
deny from all
</Files>
Kaynak: Protecting 777 chmodded folders