java - How can you protect info contained in an APK? -
i assume someone's built apk decompiler..... what's best practice secure sensitive info (like auth parameters backend database)? suppose kind of middleware work can't things speed. what's "right way"?
it's difficult reverse-engineer dalvik byte code; understanding there's not simple mapping java byte code, less java source, particularly if it's gone through proguard. however, auth parameters data, not code, , can snooped rather more easily. moreover, interested in breaking credentials has lots of other means of attack, including packet sniffing, don't require recovering source code. comment anon right—don't trust client.
as best practices, can use public key encryption system, credentials server, etc., avoid putting sensitive info .apk file. don't trust obfuscation or obscure byte code keep secrets. won't.
Comments
Post a Comment