3 ms·
If you think it is unlikely that you will leak your NoSQL database, a quick mental comparison for you: how many man-years have gone to hardening the protocols f
by patio11 15y ago
If you think it is unlikely that you will leak your NoSQL database, a quick mental comparison for you: how many man-years have gone to hardening the protocols for access to your NoSQL database? How many have gone into hardening the protocols for, e.g., MySQL? How many MySQL dumps made it to the Internet last year?
Use bcrypt. It upper bounds the loss of your database at somewhere below "Most of my users get their email accounts and bank accounts compromised."
- PLejeck 15y agoSQL is text-based, and therefore injections are far easier. NoSQL (specifically Mongo) does not generally just plug user-provided info into a string, and is therefore secure against injections. Age does not matter. In many cases, youth can even be beneficial, since it can include more modern techniques.
- patio11 15y agoYou're being overly restrictive in thinking of the attack space. For example, do you think keys in your NoSQL engine of choice necessarily always work out well if they include malformed Unicode characters? Do you think all buffers are safe? etc, etc Talk to tptacek about this if you think NoSQL means No SQL Injections So I'm OK.