I'm trying to build my own custom alternative to LVL, and I have to do some server side validations.
When data is transmitted through the internet, it is possible to intercept it if not secured propperly. All though HTTPS offers more security than the standard protection, it might not be enough.
I'm reading a .txt
file from the internet, and data from it is downloaded to the phone. Is it possible to use encryption on the android device in order to hide what web address it connects to and the data it retrieves? I'm already using HTTPS. Connection code:
URL url = new URL(protocol + website + dir + file);
BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
EDIT
Besides protecting the connection, what is the best way to protect the data with encryption with a key?