couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Farrell...@grrawr.com>
Subject Re: CouchDB hosting services and same-domain origin
Date Sun, 07 Nov 2010 15:47:35 GMT
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 <couchdbuser@gmail.com> 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 <wordituk@googlemail.com> 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
>>
>

Mime
View raw message