Trying to get my head around user authentication in Couchbase Lite*. Can I 
simply prompt the user for their username and password and then use 
something like the following?

auth = [CBLAuthenticator basicAuthenticatorWithName: @"<username>"
                                          password: @"<password>"];

(from *Pro Couchbase Server* by David Ostrovsky and Yaniv Rodenski. 
ISBN-13: 978-1430266136)

Is this secure if the remote Couchbase server URL employs http rather than 
https? Can a remote Couchbase server even employ https? I assume I can't 
encrypt the username and password in the line above.


*=Has Couchbase Lite changed its name to Couchbase Mobile?

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/ede8cfd4-28b6-4403-aea4-6902d2658500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to