Skip to content

Commit 279d108

Browse files
Changed SQLi item to reflect prepared statement
1 parent 582cc59 commit 279d108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security-checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
##### SANITIZATION OF INPUT
5454
- [ ] `Sanitize` all user inputs or any input parameters exposed to user to prevent [XSS](https://en.wikipedia.org/wiki/Cross-site_scripting).
55-
- [ ] `Sanitize` all user inputs or any input parameters exposed to user to prevent [SQL Injection](https://en.wikipedia.org/wiki/SQL_injection).
55+
- [ ] Always use parameterized queries to prevent [SQL Injection](https://en.wikipedia.org/wiki/SQL_injection).
5656
- [ ] Sanitize user input if using it directly for functionalities like CSV import.
5757
- [ ] `Sanitize` user input for special cases like robots.txt as profile names in case you are using a url pattern like coolcorp.io/username.
5858
- [ ] Do not hand code or build JSON by string concatenation ever, no matter how small the object is. Use your language defined libraries or framework.

0 commit comments

Comments
 (0)