I want to develop an application for some company. The application is mainly a search tool in a specific database.
I have two ways to develop this application:
- Include the DB file into the
assest
folder and use it. - search using API. (My search tool has an API. And you can search the DB using the browser).
I prefer the first option. The problem is my customer want their DB files to not be accessible by unauthorized parties. They are very serious about this issue.
If I developed the app using the first option:
- can anyone retrieve the DB data from the .apk file or from anywhere else ?
- Is the DB file NOT secure if I put it into the
assest
folder ?
If the answers are YES, then can I avoid making end-user use the internet to search in my tool? Can I avoid using option 2? i.e. Is there any secure way to include the DB without worrying about the security issue I mentioned ?
Thanks in advance.