If you're wondering how to do this for a CouchApp, you might look at the setup Mikeal talks about (NodeJS behind CouchDB) at http://jsconf.eu/2010/speaker/nodejs_couchdb_crazy_delicious.html (especially at around 12:15).
On Fri, Nov 5, 2010 at 3:41 PM, couchdb user <[email protected]> wrote: > Hi Marcus, > > the same-domain origin policy is only for javascript, you can have > your database on CouchOne or Cloudant, and have another server hosting > your application (PHP, Java, etc). > > Unless I misunderstood your email > > Regards, > > > > On Fri, Nov 5, 2010 at 3:21 PM, Wordit Ltd <[email protected]> wrote: >> Can anyone confirm this please. There seems to be one limitation to >> using a CouchDB hosting service like CouchOne or Cloudant. To use >> online payment systems, or third-party authentication, server-side >> scripting is required e.g. using PHP. >> You cannot do these actions on another server because the same-domain >> origin policy prevents this. >> >> Or is there any way to retrieve info like Paypal payments or OpenID >> authentication on one server and then securely pass that info to the >> database on the hosting service? >> >> Thanks, >> >> Marcus >> >
