incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Wan <...@samuelwan.com>
Subject Re: security and validation API?
Date Fri, 10 Apr 2009 21:46:50 GMT
Oops, replied before receiving your answer. Thanks for explaining!

-Sam

On Fri, Apr 10, 2009 at 2:45 PM, Samuel Wan <sam@samuelwan.com> wrote:
> I found the answer on the Safari Books Online website:
>
> http://my.safaribooksonline.com/9780596158156/I_section3_d1e2107
>
> "The validate_doc_update function gets executed for each document you
> want to create or update [....] If you have multiple design documents
> each with a validate_doc_update function, all of those functions are
> called upon each incoming write request."
>
> -Sam
>
>
> On Fri, Apr 10, 2009 at 2:31 PM, Samuel Wan <sam@samuelwan.com> wrote:
>> Thanks for the pointers, Patrick!
>>
>> Is the "validate_doc_update" a special function that CouchDB looks for
>> when processing a PUT request? If the design document contains the
>> validation function, but you're updating a regular document, how will
>> CouchDB know which design document contains the validation function to
>> run?
>>
>> -Sam
>>
>> On Fri, Apr 10, 2009 at 12:27 PM, Patrick Antivackis
>> <patrick.antivackis@gmail.com> wrote:
>>> Hi Samuel,
>>> No real doc nor wiki yet.
>>> What is implemented already is administrator acces and update validation.
>>> Reader access nothing yet.
>>>
>>> About update validation, the only reliable source is the test suite :
>>> http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/security_validation.js?view=markup
>>>
>>> About administrator you have a light wiki info there :
>>> http://wiki.apache.org/couchdb/Setting_up_an_Admin_account
>>>
>>> Hope you fill find what you need
>>>
>>>
>>> 2009/4/10 Samuel Wan <sam@samuelwan.com>
>>>
>>>> Hi all,
>>>>
>>>> I waited for security support in CouchDB 0.9 before jumping back in,
>>>> and saw Administrator Access, Reader Access, and Update Validation
>>>> features mentioned at http://couchdb.apache.org/docs/overview.html.
>>>> Where can I find the most recent information on CouchDB's security
>>>> support, and ways to implement authentication and authorization?
>>>>
>>>> I found a 5-month old post here, but wasn't sure how much had changed:
>>>>
>>>> http://jchrisa.net/drl/_design/sofa/_show/post/couchdb_edge__security_and_vali
>>>>
>>>> Any hints on where to look would be much appreciated.
>>>>
>>>> -Sam
>>>>
>>>
>>
>

Mime
View raw message