Skip to content

Commit

Permalink
Update securite.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteBuvron committed Jun 22, 2023
1 parent 51c8f24 commit b36919b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions securite.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ fournis. Les valeurs des paramètres sont stockées dans un tableau `params`, et
valeurs sont remplacées par les placeholders correspondants. Ainsi, les paramètres ne sont pas interprétés comme du code
SQL potentiellement malveillant.

```
http://localhost:8000/api/offers?salary=1000&region="OR 1=1;"
```

## Avantages de l'utilisation de placeholders

L'utilisation de placeholders présente plusieurs avantages en termes de sécurité :
Expand Down

0 comments on commit b36919b

Please sign in to comment.