sqlite escape string
#2

Because every string you send into SQLs are a potential query (even when you are trying to store a string using a query), they can be manipulated to inject into your SQL, inserting data you don't want, retrieving or updating them, leading to many things, worst is losing whole data you got
It's rare in sa-mp, but still better be safe than sorry

As a role of thumb, whenever you want to save any string a player inserted ( user, pass etc.) escape them, it's not necessary to escape what you write in your own pawn code
Reply


Messages In This Thread
sqlite escape string - by DavidBilla - 22.10.2015, 08:19
Re: sqlite escape string - by PrO.GameR - 22.10.2015, 08:27
Re: sqlite escape string - by DaniceMcHarley - 22.10.2015, 08:37
Re: sqlite escape string - by rymax99 - 22.10.2015, 09:37
Re: sqlite escape string - by Vince - 22.10.2015, 09:48
Re: sqlite escape string - by PrO.GameR - 22.10.2015, 10:48

Forum Jump:


Users browsing this thread: 1 Guest(s)