On Tue, Aug 30, 2011 at 11:55 PM, Tarun <er.tarun.9...@gmail.com> wrote:

> Hi All,
>
> Is there any configurable parameter which allows us to set maximum
> number of records that is allowed to be inserted. Once this limit is
> reached, insert SQL query should fail inserting records telling max
> records have been inserted in DB table.
>
> Please let me know. Waiting for response.
>

Are you concerned about hostile user agents soaking up too much disk space?

We have a solution for that: the test_quota.c VFS shim.  See
http://www.sqlite.org/src/artifact/a391c866217e92?ln=13-28 for some sketchy
documentation.  Firefox uses this to limit the amount of disk space that an
HTML5 web application can use with IndexedDB, as one of many defenses
against denial-of-service attacks.



>
> Thank you all.
>
> --
> Regards,
> - Tarun Thakur
> Module Lead
> NEC HCL System Technologies, Noida
> www.nechclst.in
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to