We would like to make a "Encryption Upload" button next to regular upload button, and when user use the "encryption upload" button we will let they choose to encrypt their file with their password (the user plain password - or password that they type everytime they sign-in, and we don't have this password in the database, we only have hashing of it!!) or encrypt with an custom input passphrase (see image below).
When user download an encrypted file, we will ask them input their passphrase to decrypt (if they use custom passphrase) or use their password to decrypt the files.
[In order to do this, we need to add an "encryption mark" column into the “Files” table in database to check of what type the file has been encrypt (because we need to decrypt when download!!). The encryption mark column can receive one of three values: 0, 1 or 2
"0": File not encrypted (when user choose the regular upload button or drag-drop => we don’t need to decrypt file when download)
"1": File was encrypted with user password (we will use the user plain password to decrypt the file when they download or view)
"2" File was encrypted with user custom passphrase (we will ask user to input their passphrase to decrypt the content when they download or view the file=> they much remember their passphrase by himself) ]
2. Fix and Check:
Recently we have integrated some new component such as: 2checkout payment gateway, email verification, google captcha,… the integrations have done and work OK but we need to check again and doing some small fixes:
a. [Fix] Check if the 2 checkout payment gateway, pricing table, automatic recurring and changing between plans work ok after purchase (we have premium and free storage plan)
b. [Fix] Add a flashing message and a confirmation check (Yes, I agree) when user click in the “prohibited content” report button (the operating code of that button was already done inside – we just need to flash a warning message look like in the attach image before doing that code (please check the attach image)
c. [Check] Check if the email confirmation work fine?
d. [Check] Check if the Google recaptcha work fine?
e. [Check] if the Social button work fine?
Thanks so much for your attention!!