
What I am about to tell you should be used primarily for learning and education. Certainly not for any dubious activities. It is possible to connect to another computer through the internet and browse through their directory structure, update and copy the file etc. Before you can connect you are prompted for a login and password so obviously (and preferably) you need the other person’s explicit co-operation and consent.
If you try to login without consent and approval, it is deemed as hacking. Still, if your intention is neat, meaning you just want to probe and not damage, then you are a white hat hacker. But if you want to hold the other person hostage, then you are deemed a black hat hacker.

