Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQuery mobile app - form security issues

I'm building my first app using jquery mobile, which involves users entering info into a form, which is then stored in an sqlite database. I plan on deploying it with phonegap.

What measures should I be taking to make sure malicious code isn't entered into the form?

I can't use server-side scripting with phonegap if I understand correctly.

I'm aware this is possibly one of the pitfalls of coding an app this way...

like image 851
Harry Avatar asked Jul 03 '26 00:07

Harry


1 Answers

Assuming you are simply storing this data in a SQLite DB and doing nothing else with it, really the only thing you have to sanitize the data for would be SQL injection attacks; here's a quick example that Google brings up.

like image 157
fil maj Avatar answered Jul 04 '26 13:07

fil maj



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!