Let\'s say I have a code like this:
How to configure custom headers for thi
One alternative is to use cookie instead of header parameter.
If you want, for example, send a user credential to control the access to the image, this credential can be set to a cookie and this cookie can be validated at server side.