DEV Community

loading...

Discussion on: Hiding API Key in Img Src URL?

Collapse
thespiciestdev profile image
James Allen • Edited

Try looking into signed URLs, where your server has the secrets configured and can generate unique URLs for your clients/browsers. Your implementation will depend on your file/image storage (AWS S3, your backend filesystem, etc.)

Edit: whoops!.. I had a type-o! I've updated my post with "your browser" to "your server" - very important, all things considered!

Collapse
thespiciestdev profile image
James Allen

@nicfitzgerald , I had to edit my post... I hope I didn't cause too much confusion!