hoodiehq-archive / hood.ie-website-old

⛔ deprecated
http://hood.ie
74 stars 14 forks source link

Database security and hood.ie #76

Closed aymanfarhat closed 10 years ago

aymanfarhat commented 10 years ago

Hey guys, I love the concept of this project. I haven't checked the source yet and I am wondering how do you go about dealing with securing data that is sent to the server right from the client?

As in what could prevent a user from reverse engineering the code to understand the database, and then issue queries such as updates and delete, right from the browser's console that get persisted to local storage and then synced with CouchDB?

I will be looking further into the source to understand more. I assume you already found a solution to this, but would be cool to have a page in the docs explaining how security in hoodie works. Thanks!

janl commented 10 years ago

@aymanfarhat heya, good questions there. In short, there is no “solution”, because we don’t think this is a problem :) — Since data is always scoped to a single user, all “damage” they can do pertains to their own data. That’s analogous to how, say, you could reverse-engineer gmail and wreck havoc that way.

Two more considerations:

aymanfarhat commented 10 years ago

Hey @janl thanks for the clarification. Looking forward to using hood.ie at some point! :)

janl commented 10 years ago

Cool, let us know how it goes, when you get to it :)