javascript - How to validate read and secure documents in CouchDB? -
in 10 common misconceptions couchdb, joan touzet asked (30:16) if couchdb have way secure/validate reads on specific documents and/or specific fields of document.
joan says if has access database, he/she can access documents in database.
so says there few ways accomplish that:
- (30:55) cloudant working on field level security access. have implemented yet? open-sourced?
- (32:10) should create separate document in separate database.
- (32:20) filtered replications. mentions slows 'things' down. means filter slows replication, correct?
also, according rcouch wiki (https://github.com/rcouch/rcouch/wiki/validate-documents-on-read), implements validate_doc_read
function (i haven't tested it, though). couchdb has it?
as far can see, best approach model database according problem (one database this, that, 1 person, person) , filtered replications when necessary. suggestions?
Comments
Post a Comment