简体   繁体   中英

How to prevent database dump?

i create my first Android app that use local SQLite database for showing contents. As you know any user can dump database from phone and see its structure and data. Does exist any way to prevent database dump from Android phones? I avoid that anynone can have a look at database data (and then copy it) using any SQLite explorer.

Thank you.

Using password in the connection string

Data Source=filename;Version=3;Password=myPassword;

Source: http://www.connectionstrings.com/sqlite

or encrypting (Search here for SO answers)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM