I'm setting up a website where users can enter sensitive information like their address, name, and phone number. This data will be used for inspections by a contractor, so it's really important to store it securely. My goal is to keep everything on my Raspberry Pi and not rely on external databases or services. I've primarily worked with SQL and MongoDB before, but I need guidance on encrypting this sensitive information and whether it's feasible to store it locally. What are the best solutions, encryption methods, and alternatives I should consider?
5 Answers
You can store data locally securely, but it might get complex. It’s like trying to make an elephant slide down a waterslide; it can happen, but it can be messy! Make sure your Raspberry Pi is isolated, has a proper firewall, and consider how you’ll monitor it for security. What are your plans for backups and intrusion detection?
Honestly, you're likely to encounter security issues. If you can, avoid storing sensitive information altogether. This can keep things simpler and safer.
There are options like Cloudflare D1 or Neon if you're open to cloud solutions, but it sounds like you really want to stick with local storage. Just be careful with local encryption methods and ensure your PI is secure. Maybe consider backing up data frequently as well.
So just to clarify, you're planning to host the site on the Raspberry Pi and want to encrypt the user data stored there, right? That's definitely doable! You'll need to think about the specifics of setting up your service and how to secure your device.
Why complicate it? It might be better to get a reliable host and use their database services with encryption. It's generally much more secure than trying to set everything up on a Raspberry Pi.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads