hookshy Well-Known Member Licensed User Longtime User Sep 16, 2014 #1 I want to build a custom config file other than a .txt file ..in order to retreive some information.. the user should not have acces to this file which is visible on dirapp and will not edit this or understand its content ...like a instalation file Thank you !
I want to build a custom config file other than a .txt file ..in order to retreive some information.. the user should not have acces to this file which is visible on dirapp and will not edit this or understand its content ...like a instalation file Thank you !
Erel B4X founder Staff member Licensed User Longtime User Sep 16, 2014 #2 You can use KeyValueStore class to store the settings in a binary file. Upvote 0
hookshy Well-Known Member Licensed User Longtime User Sep 16, 2014 #3 Thank you ...searching the forum I did found random acces file to make .dat http://www.b4x.com/android/forum/threads/encrypting-information-with-randomaccessfile-library.11565/ I found also keyvalues . Thank you Upvote 0
Thank you ...searching the forum I did found random acces file to make .dat http://www.b4x.com/android/forum/threads/encrypting-information-with-randomaccessfile-library.11565/ I found also keyvalues . Thank you
D dilettante Active Member Licensed User Longtime User Sep 17, 2014 #4 I'm not sure how any of that relates to "installation" files. But if you want to avoid user editing you'll probably want to obfuscate the data (simple XOR with some pattern?) and if it has to be secure you'd want to use some sort of encryption. To tamper-proof it you'd use some sort of Public Key signature. Upvote 0
I'm not sure how any of that relates to "installation" files. But if you want to avoid user editing you'll probably want to obfuscate the data (simple XOR with some pattern?) and if it has to be secure you'd want to use some sort of encryption. To tamper-proof it you'd use some sort of Public Key signature.