database - Android SQLite, ask about ContentValues -
I would like to know that using class material value in curves is a good practice to prevent SQL injection.
Thank you
Personally, you ContentValues
or use regular SQLiteDatabase
query, you can not be 100% safe from SQL injection.
It is being said that if you are resting using ContentValues
, then its better practice avoid any user input, or if you < If you want to use the code> SQLiteDatabase questions, it helps in structuring your query.
If Android has offered paramedet questions that will protect against the best practice injection, we will have to wait and find out the options.
Comments
Post a Comment