How should I store encrypted files in Django? [closed]

I have a program that encrypts user uploaded files and I want to know where is the best place to store the encrypted file.

The options I have thought of are:

  1. As a .txt file in the server (connected to Django by using the default File upload system)
  2. Save as a text input in the database (this will be completely encrypted)

If there are any other ways please let me know.

If all of the ways are mostly the same could you please write in the comments

Back to Top