Will making protected methods in Android BillingReceiver make my billing vulnerable?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not per se.
However, relying solely on the Java language access modifiers for data protection will mean that your application is potentially vulnerable. If the bad guy can run code in your VM and use the reflection APIs, it is simple to route around Java language access modifiers and access
privatefields and methods.If the “bad guys” you are worried about are the owners of the devices, you should assume that they can subvert any code that is run on their devices. (This might be technically difficult, but it only takes one smart and motivated person to figure it out … and the cat is out of the bag.)