Preventing access to files if a user types the full url on the address bar

I have some images on my website that are on my homepage which I disabled pointer events for because I don’t want anyone downloading them. The problem is a user could easily go into the source code and then directly go to the directory of my image to download it. Is there a way I could disable access to a file if a user visits it directly?

Hey @davejh

Any resource, such as a script, image, etc. is downloaded to, and cached on, the device used (e.g. computer, phone) when someone visits a site (any site.)

1 Like