3

I'm tidying up the security in my app a little bit, and I have a quick question.

I looked through my couchdb configuration and I noticed a maximum document size of 4294967296. Is that 4 MBs? And might you be able to put that in human terms, like a 100,000 line JSON doc? More? less?

Costa Michailidis
  • 7,691
  • 15
  • 72
  • 124

1 Answers1

7

That's 4 GIGAbytes.

So, that's a DVD.

Will Hartung
  • 115,893
  • 19
  • 128
  • 203
  • Thanks, Will! So if someone comes along one of my forms and decides they want to upload a bunch of 'dvds' to my Couch, just to mess up my data, how might I stop that? Like if someone's attack just consists of uploading massive amounts of data. – Costa Michailidis Jun 13 '12 at 16:52
  • @Costa You might restrict the size of an allowed upload to what fits your needs. The DB is only one part of your application that you are controlling and thus are responsible for. – yagooar Nov 12 '13 at 17:47