-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91d4394
commit fd0eb3a
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
**SQL injection** | ||
- what? insertion/injection of a sql query via the input data from the client/UI to the application/backend. | ||
- harm - attacker can read/modify sensitive data in database, execute administration operations on db. | ||
- how to prevent? use of prepared statements, use of stored procedures, allow-list input validation and | ||
escaping all user-supplied input. | ||
|
||
**XSS** | ||
- what? | ||
- type of injection attack in which attacker uses a web application to send malicious code to a different user. | ||
- attacker uses XSS to send malicious script to an unsuspected user. |