Y
Y
YanChernyshev2019-12-04 20:14:08
Images
YanChernyshev, 2019-12-04 20:14:08

Deny img file?

Hello! I want to prohibit access to the image, that is, when you open the image, an error was displayed, and this image was read successfully and without errors.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alex1478, 2019-12-04
@alex1478

It is not very clear what it is about, I will assume that it is about the site.
As I understand it, you need the images to be available when viewed from the site, but not available via a direct link. Then you have two options:
1 - When submitting an image, check the referer, it must match the page of the site where the image is located
2 - Generate unique one-time links for images

V
Vladimir Korotenko, 2019-12-04
@firedragon

If you are talking about hotlinking, then look for it on search engines.
For those who are particularly stubborn, you can insert a time bomb. Instead of a picture with a cat, give Sasha gray.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question