I've been developing a Chrome extension called Web Jotter, which combines bookmarks with clipboard functionalities while keeping track of the source website. It also features dark mode and customizable key bindings. Currently, all user data is stored locally in the browser, but I'm considering adding an online storage option so users can access their data across devices. My main concern is handling user data responsibly and securely, especially when it comes to potential data breaches. I'm looking for advice on best practices for data handling, cost-effective methods to ensure data safety, red flags to avoid during development, and whether there are still risks even with local storage. Any insights would be greatly appreciated!
5 Answers
Consider allowing users to store their data in existing cloud services like Google Drive or Dropbox. If you don’t hold onto their data, you don’t bear the responsibility for it, which can take a lot of pressure off you as a developer.
You might want to look into software like Joplin, which uses various cloud storage options while also offering their own service for those who want it. Remember, if you don’t have their data, you can’t be held accountable for any leaks.
To keep user data safe, you should encrypt the data using a key derived from a user password that you don’t store anywhere. Perform the encryption and decryption processes directly in the browser, which means you won't have access to the data at any point. This way, you can't accidentally expose it, no matter what happens on your end.
Letting users export their configurations in a user-friendly format, like base64, can also work. This way, they can handle their own data transfers without you needing to manage that information directly, helping you sidestep a lot of potential issues.
Since you’re already storing data locally, make sure it's encrypted with a unique key known only to the user. They can then send you the encrypted data for storage. Researching tools like SQRL could be beneficial too; it ensures that even remote sites don’t have a login to compromise.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically