3

It would be very elegant to run a full couchapp on Cloudant, but is seems there is no way of creating a public login page while the rest of the database requires authentication.

Can I serve public pages without opening the entire database?

Thanks, Mikkel

Mikkel
  • 762
  • 5
  • 17
  • I'd think that would be a very expensive way to host a web site (compared to other options). https://cloudant.com/for-developers/faq/auth/ – WiredPrairie Aug 12 '13 at 20:50
  • @WiredPrairie there is a trade-off, avoiding CORS (cross-domain) with CouchDB replication to cut the amount of hits needed by having the app in the same domain context. – MrYellow Dec 04 '14 at 00:40

1 Answers1

2

The solution for CouchDB (see question How does a user login to a couchapp that has a reader role defined?) should also work in Cloudant.

Community
  • 1
  • 1
Will Holley
  • 1,745
  • 10
  • 11