Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm developing an android application which will implemented in a tablet device. The app store user sensitive data in sqlite database. I need to provide good security for the data and the application in general.

Is there any way to provide better security for data and my application in general ?

I'm loohing for free solution please.

Thanks in advance.

What I have tried:


Posted
Updated 24-Jul-18 1:05am

1 solution

Quote:
Is there any way to provide better security for data and my application in general ?

We can't give you any specific advice - we have no idea what you have tried, or even what Your app is supposed to do.

But general advice would be:
1) Read up on security - there are whole books written on it and it's important that you know what you are doing because it is horribly easy to get it wrong.
2) Following from (1), password security is very important: so novices tend to encrypt them. That's wrong: always hash passwords. Encryption is about as secure as storing them in plain text.
3) Know what common weaknesses are, and design your code to avoid them. For example, never concatenate strings to form SQL commands - that leaves you open to SQL Injection.
4) Encrypted data is good, but it's only as secure as the encryption key. Securing the key (and any salt value) is complicated, but it makes you app "safer"
5) In many cases, user information and it's storage is covered by a significant amount of legislation - see the GDPR notices that have been appearing all over websites for a couple of months - you need to know what those legal requirements are within the country your app will operate.

Basically, if you don't know what you are doing, then learn before you start even designing your app. Get one of the books, and start reading!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900