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…
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.