I'm accessing a remote server and I have to POST a username and a password to retrieve a XML-file. I'm using PHP.
What would be the way to store that username and password securely and make it readable again so I can POST it to the server. It's a server I don't own, so I have to pass a non-encrypted username and password.