I want to have an online account database for my app and I’ve managed so that I can download a database file (though its not encrypted
) from an URL and put it in the tmp folder.
Then I’m able to add new accounts to the file, so far so good, except the encrypting thing.
What I will try todo next is to upload the new data to the server.
Questions:
-
Is there a way to just write to the file while it’s on the server instead of downloading it? Though it must check if the username chosen already exists in the database.
-
How do I decrypt a file in Corona?
-
How do I delete files in the tmp directory?
-
Is all this safe?! [import]uid: 24111 topic_id: 20174 reply_id: 320174[/import]
[import]uid: 24111 topic_id: 20174 reply_id: 78893[/import]