AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
50.4k stars 3.34k forks source link

[FR] Password Protected pages #5018

Open AnsahMohammad opened 3 months ago

AnsahMohammad commented 3 months ago

Description

One of the biggest deal-breakers of Notion is the lack of security. It would be awesome to have a feature for password-protecting specific pages.

Impact

All users who want to write confidential information in their notes.

Additional Context

We can use a form of encryption, such as AES, to encrypt the data.

rp1231 commented 2 months ago

Standard notes has this feature. It would be great to have this on appflowy!

AnsahMohammad commented 2 months ago

@Xazin, I'm thinking about what a workable solution would look like. I can picture a design for reading the data, but I'm not sure how to handle writing to the file. Here's what I've thought about:

  1. Fetch the database as usual
  2. if an encrypted file is found, open a dialog asking for password, and decrypt the data and send to the application layer

How do write into the encrypted file?, Is it necessary to save the entire document or just individual nodes after making changes?

annieappflowy commented 3 weeks ago

Is there any way to password encrypt certain notes?