How do I secure the link of videos or images (src)?
Hello, I have used signed urls to download and I have done all the security things to the acceptable level, but the problem is that in any case (src) can be displayed and if someone accesses it can download.
You may say to use private storage space, but this method has limitations, and one of them is that I cannot show the video and only download is possible, how should I do this, because otherwise all my efforts will be wasted
Anything that is displayed in the browser can be copied, so there isn't really any way to prevent that from happening. One thing you can do is disable right click using javascript. You can also display images with css instead of using the normal tag.
@Tray2 I have done the same thing.
This is exactly my problem. If someone has bought the video, then they have access to (src).
and can easily share it with others
@johnDoe220 I think you want to encrypt your videos, so even if someone downloads it, without the encryption key it's just a garbage file that cannot be played.
This article will get you started understanding the concept: