Next Generation Emulation banner

Login Pages for FTP

1110 Views 11 Replies 5 Participants Last post by  Vanit
I've been recently working on making my own FTP server at home (so I can access certain files from school) and I was thinking of spiffing it up with a html login page, though I completely lack the knowledge to do so. I would appreciate it if anyone could hook me up with a template or a guide.
1 - 12 of 12 Posts
You don't. FTP exists as a different protocol from HTTP.

What you might be able to do is make an HTTP based web service that interfaces with an app or servlet that does the FTP work. But really... not worth the hassle if you only want to spiffy up the login.
If you're just using your browser to browse the FTP server, then you just need to format the URI as ftp://user:[email protected]. Just use a Javascript form like so:

http://www.ramsus.net/misc/ftp.html

You can even copy my example, but edit the hidden server field to your own FTP server's address.
Thanks for the feedback and your answer Ramsus K. I do want to access it through a browser because we shouldn't be installing software on the school computers.
Vanit said:
Thanks for the feedback and your answer Ramsus K. I do want to access it through a browser because we shouldn't be installing software on the school computers.
IE has a built-in FTP client.
You could always use FileZilla. It has a no-install zip version, just run it off a USB key, or temporarily copy it to My Documents or something.

Or, you could use net2ftp. Run it from their site, or install it on your server.

There's plenty of suggestions for things of this nature here.
Ramsus K said:
If you're just using your browser to browse the FTP server, then you just need to format the URI as ftp://user:[email protected]. Just use a Javascript form like so:

http://www.ramsus.net/misc/ftp.html

You can even copy my example, but edit the hidden server field to your own FTP server's address.
Oh yeaaah... You CAN do it that way. Sorry, my bad.

@Vanit: Btw... I dunno if it matters for you, but I suggest that you don't send your credentials in cleartext. Unless you restrict your own access to the FTP, you don't want just anybody sniffing your password, do you?
Kraelis said:
Oh yeaaah... You CAN do it that way. Sorry, my bad.

@Vanit: Btw... I dunno if it matters for you, but I suggest that you don't send your credentials in cleartext. Unless you restrict your own access to the FTP, you don't want just anybody sniffing your password, do you?
That's why you shouldn't use HTTP or FTP at all for sending anything important that you don't want people to see (like usernames and passwords). You should be using encrypted protocols like SFTP and HTTPS instead.

A web browser using FTP and an FTP client send the same exact information in the same exact manner over the network - all completely unencrypted. Don't be misled by whatever interface happens to be sitting on top of the protocol.
FLaRe85 said:
Vanit said:
Thanks for the feedback and your answer Ramsus K. I do want to access it through a browser because we shouldn't be installing software on the school computers.
IE has a built-in FTP client.
I'm sorry, but I had to laugh out loud when I read your reply. I thought it was more obvious, but when I said "I do want to access it through a browser" I was implying I already knew :p. No hard feelings :lol:.

Also I had already taking precautions by disabling anonymous access and I've given no accounts (not even my own) the ability to edit, delete files/directories or execute files, they can only read and upload. I also have my server logging everything so I can tell what goes on.

Also, I was wondering if I could get a few more people to test my FTP Server. I've created a public account (which only allows access to the server, no files) for this sole purpose.

ftp://vanitstudios.mine.nu
User: ngemu
Pass: testme
My server was down for the past 8 hours because my dad was using linux. Its back up now though.
The server's pingable but not accessible thru ftp.

Vanit said:
they can only read and upload
You meant to say download, did you? You don't want people uploading TO your FTP server. :p
Read = view/download

And yes I did give upload, but only to private accounts (me and a few friends for sharing reasons :)). However, the Ngemu test account can only read.
1 - 12 of 12 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top