You can have the files encrypted, for example in a SQLite database. You can look in our wiki how to use encrypted SQLite databases. Just be aware that if you store the encryption key in your program, someone could extract it and decrypt the database.