REMINDER
Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.
How to protect against direct access to images?
-
I would like to protect against direct access to images, e.g. direct links to images without visiting the web site.
What is the preferred way to do this?
-
Hi, I would say you cannot by default.
You can still create a layer of protection with a CloudBackend function that would check the URL it's coming from is your website then load the image and then use this function as a source from your images instead of the direct URL but it has its downsides :
- API time consumption
- Very slow compared to direct images loading
- If they find your AppDrag image URL they can use it