-
Notifications
You must be signed in to change notification settings - Fork 22
connected_gateway.json file is accessible #353
Comments
Hi Abhay, Thanks, |
Hi Ruqiya, We are able to read the file even if we connect the android device in adb mode. |
Thanks Abhay for the quick replay. Let me try on one or more devices meanwhile. Ideally on a non rooted device/emulator it should not be accessible. |
Hi Ruqiya, After we login, the file "connected_gateway.json" is created. Then we root the device. Now, without opening the app again, we are able to access the "/data/data/com.your.packagename/" directory and read the file. So, yes, the file is accessible on rooted devices only. But the file discloses a lot of information related to client id, client secret, and the endpoints. |
Hi Abhay, |
Normally the "malicious users" will run your application as a normal user. In another moment, they will change the device configs and easily get access to all of your sensible data inside In
|
connected_gateway.json is getting created temporarily in the device storage which contains all the information related to client id, client secret, and the endpoints. I found that it is being created in ConfigurationManager.java file.
Is there any way to hide this json file or the contents of the json file?
The text was updated successfully, but these errors were encountered: