Ensuring security for Android apps outside Play Store