简体   繁体   中英

If I call a web service url in an android application, can a user discover the url that was used?

If it's using HTTPS? A standard GET request to a particular URL. If they still can, how can I obscure it?

如果您使用http客户端方法发送或获取数据,则客户端无法获取该网址

It is always possible to find out the IP address and the port. The path part of the URL can be hidden by using HTTPS.

If an intelligent user has rooted their phone, anything goes. You can use Proguard to obscure your code to make it more difficult to reverse engineer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM