Re:Show HN: PouchDB - The JavaScript database that syncs
by janl on Monday July 15, 2013 @02:08PM
(#6047411)
By giving each user their own database :)
[ Parent
| on HN ]
Re:Show HN: PouchDB - The JavaScript database that syncs
by etrepum on Tuesday July 16, 2013 @08:04PM
(#6055482)
Sadly it's not possible to have CouchDB make that happen for you! You can very easily allow unauthenticated requests to create users, but there's no way to create those per-user databases without writing some trusted code that runs separately from CouchDB.
Re:Show HN: PouchDB - The JavaScript database that syncs
by maratd on Monday July 15, 2013 @04:19PM
(#6048317)
What will stop one user from accessing another user's database?
Re:Show HN: PouchDB - The JavaScript database that syncs
by daleharvey on Monday July 15, 2013 @06:02PM
(#6048836)
You can configure databases to require the correct user to authenticate before touching it..