I have a current directory structure
myproject --> application --> assets --> data --> scripts --> styles --> system --> .htaccess --> favicon.ico --> index.php
I save the files uploaded by users, the video in the data strong> directory and has the following structure:
data --> 5 --> thumbs --> user_images --> 6 --> thumbs --> user_images --> index.html
I put index.html to prevent access to the directory. I can do this in all data subdirectories to have the same effect, however, is there a way to handle this .htaccess? I tried the Deny from all rule in .htaccess, but it will also not allow me to use my images on my system. All I want to achieve is to deny access to the directory (with direct access from the URL) from my data directory. Like this?
source share