A Basil Plant@lemmy.world to Cybersecurity - Memes@lemmy.world · 9 months agoYour password must also not contain the following character combinations: script, select, insert, update, delete, drop, --, ', /*, */.lemmy.worldimagemessage-square59fedilinkarrow-up1365arrow-down16
arrow-up1359arrow-down1imageYour password must also not contain the following character combinations: script, select, insert, update, delete, drop, --, ', /*, */.lemmy.worldA Basil Plant@lemmy.world to Cybersecurity - Memes@lemmy.world · 9 months agomessage-square59fedilink
minus-squareSemi-Hemi-Demigod@kbin.sociallinkfedilinkarrow-up17arrow-down2·9 months agoThey might be doing it in the DB query, but they’re definitely not sanitized beforehand.
minus-squareCrayonRosary@lemmy.worldlinkfedilinkarrow-up2·9 months agoSanitization has nothing to do with salting and hashing.
minus-squareSemi-Hemi-Demigod@kbin.sociallinkfedilinkarrow-up2·9 months agoIf you do the salting and hashing in a database query you need to sanitize the input before you use it or you open yourself to SQL injection. Databases have salting and hashing functions, after all
They might be doing it in the DB query, but they’re definitely not sanitized beforehand.
Sanitization has nothing to do with salting and hashing.
If you do the salting and hashing in a database query you need to sanitize the input before you use it or you open yourself to SQL injection.
Databases have salting and hashing functions, after all