How to prevent user to access images in multiple directories via the url
I am using .htaccess to prevent user to access images through url. Thanks to this question, I could prevent users to access .js files. RewriteEngine ON RewriteRule ^frontend/assets/(?:js) – [R=401,NC,L] However, when I applied the same rules in order to denied access to dir1 and dir2, the access is only denied to images in directory… Read More How to prevent user to access images in multiple directories via the url