This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
MythicalSora's profile picture

Login server & client

Started by MythicalSora, 30 November 2016 - 09:21 PM
MythicalSora #1
Posted 30 November 2016 - 10:21 PM
Hi, I'm trying to make a login system with a server and a client. It's on a server of a friend of mine. I'm just starting to code, I just finished making a password protected folder, but I don't know anythin about server > client stuff. Can somebody help please??
KingofGamesYami #2
Posted 30 November 2016 - 10:44 PM
If you are not familiar with rednet, you should read the tutorial I linked.

You should assume everyone can see every message you send. If you don't encrypt your communications, anyone will be able to capture the transmission of the username and password.

Also know that obfuscation is not encryption. I recommend using AES.

Even if the data is encrypted, if the message remains the same it can be replicated. For example, encrypting the command "Open Door" will be useless, as anyone could record the random string of characters and correlate it to the door opening. Because of this, you should attach some random characters to your message before encrypting. After decrypting, these will need to be removed.