On Tue, Jan 20, 2009 at 6:05 PM, Glenn Rempe <[email protected]> wrote: > Thanks Chris. That worked. > > Does CouchRest or RelaxDB support basic auth using this method? >
They both should, as ruby's http class accepts urls of the form http://user:p...@host:port/path > Thanks > > Glenn > > On Jan 20, 2009, at 5:49 PM, Chris Anderson wrote: > >> On Tue, Jan 20, 2009 at 4:31 PM, Glenn Rempe <[email protected]> wrote: >>> >>> - Is there a config available now in the native couchdb web server that >>> would let me force basic auth? I saw some posts related to this but I >>> have >>> not seen any config info. >> >> If you setup an admin account, and the proper validation function on >> your database, you can prevent unauthorized users from updating or >> deleting data, but not from reading it. >> >> http://wiki.apache.org/couchdb/Setting_up_an_Admin_account >> >> There are plans to add reader lists, but no work has been done as far as I >> know. >> >> -- >> Chris Anderson >> http://jchris.mfdz.com > > -- > Glenn Rempe > [email protected] > > > -- Chris Anderson http://jchris.mfdz.com
