rivernews / appl-tracky-spa

An Application Tracking System to help job finders ease their out-of-control spreadsheet use tracking every job application record.
https://appl-tracky.shaungc.com
1 stars 0 forks source link

Allow Image Upload #98

Closed rivernews closed 2 years ago

rivernews commented 3 years ago

First of all, we need to know how S3 presigned URL works.


Seems like we found a way:

rivernews commented 2 years ago

Problem about image url

Imagine - what would be the right way?

Seems that, maybe disallow uploading image in DEBUG could be a good compromise.

So, just for development purpose, we tried using http://localhost... as the image url and the src.

I wonder how the industry do it. Keyword="sign image src browser how to authenticate jwt". Blogger, etc - how they do it?

rivernews commented 2 years ago

Quick workaround for now regarding image url

We'll use a less secure method but it'll be enough for naive suspicious behavior.