On my web server I will be creating a bespoke XML file for a client app to access. This means I must authenticate the client and then give the client the XML file.
I believe the client application will need to post data (login, password) to the server and once a connection is established, it will receive the XML file from the server (most likely PHP).
If you have any advise it would be most welcomed. Particular classes to look at and any potential dangers.
I have found something relevant in C Sharp, however I am limited to Java as the app will be for Android.