开发者

how can I download a file from a password protected folder in java

开发者 https://www.devze.com 2023-02-07 12:31 出处:网络
want to download a file from a online server and I don\'t want it to be acessible outside my application so I have protected the folder using the control panel , now I need to know how can I acccess a

want to download a file from a online server and I don't want it to be acessible outside my application so I have protected the folder using the control panel , now I need to know how can I acccess and download that file in my java program ? Its an android app that downloads a database. My situation is that I have two databases, one for the free app and another for the paid version.And I dont want people downloading the paid version to the pc and using the开发者_运维问答m on the free version app.Is there another easy way ?


Please see the Apache HttpClient Examples, Client authentication. Android ships with these libraries by default.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号