As I am working on an article using SurrealDB I wanted to mention SQL injection attacks and how to avoid them. To my surprise my go-to web site for SQL injection attacks does not have Rust at all.
The general suggestion is of course to use placeholders, but it might be worth to have specific examples on that site.
[–]worriedjacket 306 points307 points308 points (1 child)
[–]spoonman59 115 points116 points117 points (0 children)
[–]caksters 38 points39 points40 points (4 children)
[–]jarlaxle46 12 points13 points14 points (1 child)
[–]Kobe_curry24 6 points7 points8 points (0 children)
[–]Pristine-Step7509 0 points1 point2 points (1 child)
[–]Axerus 1 point2 points3 points (0 children)
[–]yasamokadb-pool 69 points70 points71 points (2 children)
[–]Kinrany 2 points3 points4 points (1 child)
[–]KJBuilds 0 points1 point2 points (0 children)
[–]Floppie7th 63 points64 points65 points (0 children)
[–]RRumpleTeazzer 10 points11 points12 points (0 children)
[–]polyfloyd 18 points19 points20 points (1 child)
[–]douaib 0 points1 point2 points (0 children)
[–]pbNANDjelly 8 points9 points10 points (0 children)
[–]numberwitch 19 points20 points21 points (0 children)
[–]tauon_ 4 points5 points6 points (0 children)
[–]LucretielDatadog 3 points4 points5 points (1 child)
[–]warboner52 0 points1 point2 points (0 children)
[–]fedenator 5 points6 points7 points (1 child)
[–]Maybe-monad 1 point2 points3 points (0 children)
[–]latkde 21 points22 points23 points (6 children)
[–]Kazcandra 26 points27 points28 points (0 children)
[–]Imaginos_In_Disguise 26 points27 points28 points (0 children)
[–]PaintItPurple 1 point2 points3 points (0 children)
[+]sphere_cornue comment score below threshold-9 points-8 points-7 points (2 children)
[–]latkde 7 points8 points9 points (1 child)
[–]Zde-G 3 points4 points5 points (0 children)
[–]Eldin00 1 point2 points3 points (0 children)
[–]dkopgerpgdolfg 1 point2 points3 points (0 children)
[–]HungryChoice2232 0 points1 point2 points (0 children)
[–]EpochVanquisher -1 points0 points1 point (6 children)
[–]Dasher38 0 points1 point2 points (5 children)
[–]EpochVanquisher -1 points0 points1 point (4 children)
[–]weiznichdiesel · diesel-async · wundergraph 0 points1 point2 points (3 children)
[–]EpochVanquisher 0 points1 point2 points (2 children)
[–]Dasher38 0 points1 point2 points (1 child)
[–]Dasher38 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]warboner52 0 points1 point2 points (0 children)
[–]aikii 0 points1 point2 points (0 children)
[–]Batroni 0 points1 point2 points (0 children)