I am hosting a website on an Apache server, where the images are saved on an
I have already solved the issue of users accessing folders they are not intended to, placing some
index.html files on such folders.
So, for instance, if a user accesses the folder
website.com/img/, he will be redirected to
I would like to also redirect the user when he access an image, and so, avoid making it possible to see the image and to download it.
Thus, I would like to redirect the user to
website.com when he or she accesses
Is there a way to achieve this via
Or is there any other possibility available?