How to secure image url direct access

How to secure image url direct access


Regarding to, is there any way to implement access control to deny anyone who has the image url (e.g. to see the image unless for e.g. he is logged in or he is the person who uploaded the image into the database?

Hello MQ,

Nope, there is no way to add access control to the default database image widget.

You can, however, create a REST web service to fetch the images and add whatever logic  you wish to implement for access control there. Then you'll need to use an external image instead of a database image and construct the right URL.

I hope this helps you achieve what you are looking for.

Best regards,
Ricardo Silva