Any advice to secure a homemade ftp server? : programming | Torhoo darknet markets
I'm making a home FTP server that I'll be using to work on malware without having evidence on my laptop, and I want to try secure it from attacks. I've got 3 factor authentication, wherein it uses both the device's mac address and also an otherwise inconspicuous file to authenticate the device.
Any advice for securing the actual server and connection?
Note: I'm new to JS and PHP, and am relatively unskilled at HTML and CSS
An FTP server doesn't have anything to do with JS, PHP, HTML or CSS. Using something like ProFTPd on Linux you can lock it down pretty creatively, use a cron job to start and stop it so its only listening when you need or when you trigger it, etc. Or use SFTP through SSH and use an ssh key, stuff like that. Treat it like a refrigerator; you only open the door when you need something, reach in and grab/put it, and close the door. Logging in hooked to mac address is a pain in the ass and means you can only access your stuff from one specific net adapter or you have to munge your mac for each session. Easier to just use SFTP with ssh keys and turn SSH on/off as needed.