Alternatively, don't allow the user to write the video. Build some Ui that 
helps creating the view function, specify some things that can be run on the 
data and construct the view with that. This is essentially a query builder for 
couch db. 

On November 29, 2014 9:48:14 PM CET, Tim Black <[email protected]> wrote:
>
>On 11/29/2014 02:42 PM, Alexander Shorin wrote:
>> Because for now the most simple and secure way to allow custom users
>> view is to let users replicate your database to their CouchDB
>instance
>> where they can do anything whatever they need. 
>
>Here's an idea building off of Alexander's recommendation:  use CouchDB
>for whatever you need on the server side, and when a user needs to run
>a
>custom query, run that query on a client-side copy of the data in
>PouchDB.  This wouldn't work with very large data sets, but would work
>on smaller data sets.
>
>Tim

-- 
Sent from Kaiten Mail. Please excuse my brevity.

Reply via email to