locked
Set security on an offline app RRS feed

  • Question

  • User396670 posted

    Hello:

    I made an application which simply do calculation, is completely offline, i would like to export the app in an apk file, but i don't know if it's safe. Should i add something to keep in safe my app, or is it already safe as it is, without adding any security string? Thank you.

    Saturday, September 5, 2020 2:56 PM

All replies

  • User366895 posted

    You mean if someone can see the source code from apk? if yes then its possible, what you need is called Obfuscation , check these links: https://devblogs.microsoft.com/xamarin/protecting-xamarin-apps-dotfuscator/ https://stackoverflow.com/questions/36423030/obfuscation-in-xamarin-projects

    If your app is doing simple calculations then why you want to secure the source code? Keep in mind that i think with some Obfuscation methods you will get strange exception reports, you should only need to secure your app only if indeed your source code contains magic worth stealing for (in which in that case, maybe you should move this code to an online source and get the results from an API maybe?)

    Saturday, September 5, 2020 10:02 PM
  • User396670 posted

    Thank you for the answer, I didn't write, in the first comment, that I don't care about someone who could stole my equations, those are findable everywhere in internet. I care about some virus which could use my app for enter in my phone, or something like this. I would like to know if it's not a problem, because i don't find someone who tell that is all ok about security. And I want to make sure I'm doing the right thing with someone telling me that the apk it's safe, without adding security strings.

    Saturday, September 5, 2020 10:33 PM
  • User396670 posted

    @Exoskeletor

    Sorry this I see now that I have not quote the comment to you. I copy it here:

    Thank you for the answer, I didn't write, in the first comment, that I don't care about someone who could stole my equations, those are findable everywhere in internet. I care about some virus which could use my app for enter in my phone, or something like this. I would like to know if it's not a problem, because i don't find someone who tell that is all ok about security. And I want to make sure I'm doing the right thing with someone telling me that the apk it's safe, without adding security strings.

    Sunday, September 6, 2020 10:06 AM
  • User366895 posted

    Well if you are the one who makes the apks then you know if they have virus inside or not. Building a custom apk and installing it in your mobile is safe.

    Sunday, September 6, 2020 10:38 AM