javascript - Encrypt file and storing it on the server -


i don't want have readable endpoint .com///something.jpeg

so 1 thing use hash (i'm using bcrypt) mask whatever needed mask, question have performances issue doing encrypting on server side did not save encrypted string db.

here's how it.

saving bcrypt user_id, blog_post , filename , save file storage

retrieving related identifier db, bcrypt them , use value go endpoint of file.

am doing right?


Comments

Popular posts from this blog

multithreading - Exception in Application constructor -

React Native allow user to reorder elements in a scrollview list -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -