android - how to hide url request

1.6k Views Asked by At

recently some one told me that he retrieves all the url requests from my android application and he sent them to me . I'm using proguard in my application but he told me there are some ways that he can monitor the url requests .

I'm using URLConnection in my application .

how can I hide the url requests and somehow encrypt the urls so no one can read and access my url requestes ?

3

There are 3 best solutions below

0
Bhoomin Naik On

USE https instead of http, it is secured.

0
greywolf82 On

You can't. It's quite easy to use a proxy to catch all network traffic and check what you are using. If the problem is related with the content, then you can switch from http to https, but the host will be always visible. Actually as user I would be really scared about an app that want to hide such information however.

0
Shivam On

Try with HTTPS and add SSL(TSL) pinning to the network call.