Posted August 20, 2018 So I have my sftp server up and running. And it’s great! I use it to transfer important files. (I tried simple ftp and it works fine for me also but I want sftp set up so me and my colleagues can login to their own account and access their drive). So what do I want to do. I want an interface like google drive or one drive has on their web interface. Nice and modern with information like file size, name, date modified, all that good stuff. It’s not a biggie if I don’t get all that but the main thing I want is to change the look of the plain view of ftp or sftp in a browser. I want it to look the way I want it to. So I can change colours, font or other stuff. Maybe a cool little icon for the folders. I want to integrate this into a plain html website. So when I type in the link it asks for sign in. From there I can select access drive and all my stuff shows up. I am not going to be using a special key so it’s just username and password. It will be run off windows 10 as I don’t have a separate computer to use Linux. And if you are wondering about speeds I have a high speed internet connection and I will be using a separate drive to my pc’s Main and only drive. Is there any software I can place inside html or some sort way to modify the look inside a website that has pages such as home, contact and cloud or whatever they may be. Also users must be able to upload files over the website either via drag and drop or a select files button that opens the files of the users computer. If I forgot to mention something which I probably did just say. Thanks. Link to comment https://linustechtips.com/topic/962501-sftp-interface-inside-a-html-website/ Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted August 20, 2018 What you want to do is most definitely possible, the easiest way will be php scripting on the server side. It's not a trivial task and I have no idea if there is software available that you can use out-of-the-box to achieve this. For someone well versed in web design, this is relatively straight forward (although would take a considerable amount of time as it is non-trivial). However, I would offer you a few pieces of advice. Is your sftp server running inside a virtual machine? If it's not, it probably should be. Ideally, even if the server was running on dedicated hardware, it would be a best practice to put the sftp server in a virtual machine instead of running it directly on the hardware. Second, It's generally not a good idea at all to open up your home internet connection to the outside. Especially opening well-known types of connections, such as ssh (and sftp). If you are going to open up ports on your home system, you should really setup a powerful router (i.e., build a machine and run pfsense, not buying a router). There are bots sniffing for port 22 open on EVERY possible IP combination, all day long, every day, because why not. You can verify this if you open up port 22 and log connection attempts, I've done this and I had numerous attempted connections every day. So if you open ssh to the outside world, take some extra precautions. You are creating a giant attack vector into your home system by not only opening it up to the outside internet, but especially by running the sftp server on (presumably) your desktop machine. The safest thing to do would be pay for a virtual server from Digital Ocean or AWS, however, storage is costly with those services so I can understand you not wanting to do that. If you are in university, there's a good chance you will have the ability to host a website on the school's servers (you might look into it), which would also very likely be using massive storage systems so you would have plenty of memory. I know having an sftp server running is cool, but it's also something that you should do with consideration to the potential vulnerabilities you will create. Sorry for not being more helpful in regards to original question, but hopefully this will give you some insight into best practices regarding running an sftp server from your home machine. If anyone thinks I am way off base then please correct me! Link to comment https://linustechtips.com/topic/962501-sftp-interface-inside-a-html-website/#findComment-11664043 Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted August 20, 2018 You can have a look at nextcloud, it might have what you need. Magical Pineapples