Сейчас ищут
Prevent Direct Access To Files From Url. Смотреть видео: Prevent Direct Access To Files From URL PHP Htaccess, Block Direct Access To Files Or Folders On NGINX, Prevent Direct Access To PHP Application, Simple Way To Prevent Direct Access To PHP Files.