incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: Write-only for users?
Date Tue, 01 Mar 2011 21:37:58 GMT
On Mon, Feb 14, 2011 at 8:25 AM, Jonathan Geddes
<geddes.jonathan@gmail.com> wrote:
> These all sound like good ideas that will work, but they seem like a
> lot of work for a fairly simple task.
>
> Anyone know the rational behind couch not supporting write-only for
> users? Open databases are cool, but sometimes you need closed ones to
> protect privacy.

I would like a write-only "dropbox" style database. I've wanted this
for a while, but sadly sits at the bottom of my todo list.

Chris

>
> Thanks all for the responses.
>
> --Jonathan
>
> On Mon, Feb 14, 2011 at 12:04 AM, Aravinda VK
> <hallimanearavind@gmail.com> wrote:
>> Sorry I missed a note, the example blog(http://hosabelaku.aravindavk.in) has
>> some issue with Internet explorer. (Didn't get the Windows machine to test
>> it and fix :) )
>>
>> On Mon, Feb 14, 2011 at 12:30 PM, Aravinda VK <hallimanearavind@gmail.com>wrote:
>>
>>> I had the similar situation while creating my photoblog. When user add
>>> comments to a blog then other users can see the sensitive informations like
>>> email.
>>>
>>> So my approach,
>>> Created the comments app as an independent system(Like Disqus)
>>> Added PHP layer to it and given read and write permission to Admin for
>>> comments database.
>>> The PHP layer acts as API server.
>>>
>>> When user adds comment, It will be submitted to PHP layer using JSONP(since
>>> cross domain).
>>> To load the comments, I just pass URL of blog/page to get comments related
>>> to that URL. (Email will be excluded by PHP layer while serving)
>>>
>>> My photoblog is created as couchapp, and gets comments from PHP layer using
>>> JSONP.
>>>
>>> Except for comment system, everything else is complete couchapp.
>>>
>>> Advantage here is, We can use the same comments system for multiple
>>> websites.
>>>
>>> You can visit the blog which I am talking about
>>> http://hosabelaku.aravindavk.in (This photoblog is in Kannada, Language of
>>> Karnataka, India http://en.wikipedia.org/wiki/Kannada)
>>>
>>> Source code is not shared yet. Need to cleanup the code bit. Will share
>>> once it is ready :)
>>>
>>> --
>>> Regards
>>> Aravinda | ಅರವಿಂದ
>>> http://aravindavk.in
>>>
>>> On Mon, Feb 14, 2011 at 3:22 AM, Jonathan Geddes <
>>> geddes.jonathan@gmail.com> wrote:
>>>
>>>> couchdb users,
>>>>
>>>> I'm thinking of using a couchapp for an upcoming project, but there is
>>>> one capability that I'm unsure of.
>>>>
>>>> I need a database that anyone can post to, but only admin can read
>>>> from. The requirement is to allow users to post personal information
>>>> that other users cannot see. If I understand the couchdb permissions
>>>> model correctly, for a given db, anyone who can create documents can
>>>> also read documents.
>>>>
>>>> Is there a way to do this with a couchapp? It seems a shame to have to
>>>> add "middleware" just to get this one capability.
>>>>
>>>> thanks,
>>>>
>>>> --Jonathan
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Regards
>> Aravinda | ಅರವಿಂದ
>> http://aravindavk.in
>>
>



-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message