Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
1. Encrypt the file on the frontend with the public key of the server before sending it directly.
2. When viewing a file (downloading) - we give it through the internal API, which decrypts the file with a private key, but only one trusted person has access to the code of this API (+ private key) .
3. Each administrator receives his own access token to this API, which determines access to view specific files (by clients, groups, etc.).
Decide who you want to protect yourself from.
If from unauthorized access - read about Nginx-Accel and give files only to users with access.
If from accessing files directly - store in a database with AES encryption.
If you need a direct anal fencing and a lot of money - read about access key servers + industrial pyrotechnics.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question