I have few media files in a folder and a php file on same folder, I want to deny access for any media file accessing directly, but I want to access those media files only via the php file there.
lets say my_folder containing index.php, movie1.mp4, movie2.mp4 etc, I want to deny movie1.mp4 and movie2.mp4 straightly, but I need to allow by index.php
help me with htaccess handling
index.phpaccessing media files? - anubhavahttpor directly using file operations? - anubhava