FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 30th, 2009, 11:00 PM
Lef33 Lef33 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2009
Posts: 48 Lef33 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 54 m 21 sec
Reputation Power: 1
FTP and Encryption for Users

I have 3 users that I want to be able to access an FTP server that I have. Each user will have their own directory, and each will have their own login and password. I would like them to be able to upload the data using an FTP client such as FileZilla.

The issue is that I would like them to be able to upload the data securely. I understand that on a website you can have an SSL certificate with 256 bit encryption, but could someone please explain to me (or direct me where to learn):

1) what is the "FTP equivalent" of having an SSL certificate for a website?

2) I've read about sftp and ssh, but I'm confused as to how to put it all together. Can you configure sftp or ssh to have 256 bit encryption?

Thank you.

Basically I want them to be able to upload to their FTP directory with an "SSL certificate".

Thanks

Reply With Quote
  #2  
Old March 30th, 2009, 11:11 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Contributing User
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Dec 2004
Posts: 3,227 E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 17 h 48 m 32 sec
Reputation Power: 2061
You can't use an SSL certificate with FTP in the same way that you do in a browser. There isn't really an equivalent, FTP as a protocol doesn't support encryption.

SSH is always encrypted. SFTP goes hand in hand with SSH, but from a user's perspective it operates pretty much the same as FTP. The underlying protocol is different through.

Reply With Quote
  #3  
Old March 30th, 2009, 11:13 PM
Lef33 Lef33 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2009
Posts: 48 Lef33 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 54 m 21 sec
Reputation Power: 1
So you are saying that SFTP is a secure version FTP, that runs through SSH?

Is that correct?

And then what is the encryption level with SFTP? 128, 256? Or does that not apply?

Reply With Quote
  #4  
Old March 31st, 2009, 02:10 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Contributing User
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Dec 2004
Posts: 3,227 E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 16th Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 17 h 48 m 32 sec
Reputation Power: 2061
SFTP is not a secure version of FTP, it isn't a version of FTP at all despite the name.

However, SFTP does have the same purpose as FTP (file management) and uses SSH to connect to the server and encrypt the connection. FileZilla has built in support for SFTP. Some other FTP clients do as well, but since SFTP is not a version of FTP not all FTP clients also support SFTP (as I mentioned before, SFTP is a completely different protocol). OpenSSH is the SSH server deployed on most servers and it has SFTP support built in.

The connection is encrypted at whatever bit level your SSH server is configured to encrypt data at. Usually that is either 128 or 256 bits. You can't run SSH without encryption.

Actually I wasn't entirely correct earlier when I said that there wasn't a secure version of FTP. There is an extension to the FTP protocol called FTPS which is a secure version of FTP and does use certificates. I don't think that this protocol is widely used although it might be readily available. FTPS does not use SSH.

At the risk of making this even more confusing, let me say that you can technically tunnel an FTP connection through an SSH connection, but this requires advanced configuration on the client side to get it working. Plus, since the vast majority of SSH server installations support SFTP out of the box it's kind of pointless since you can just use SFTP instead.

Last edited by E-Oreo : March 31st, 2009 at 02:12 AM.

Reply With Quote
  #5  
Old April 22nd, 2009, 04:02 PM
juniperr juniperr is offline
network dude
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2003
Posts: 1,698 juniperr User rank is First Lieutenant (10000 - 20000 Reputation Level)juniperr User rank is First Lieutenant (10000 - 20000 Reputation Level)juniperr User rank is First Lieutenant (10000 - 20000 Reputation Level)juniperr User rank is First Lieutenant (10000 - 20000 Reputation Level)juniperr User rank is First Lieutenant (10000 - 20000 Reputation Level)juniperr User rank is First Lieutenant (10000 - 20000 Reputation Level)juniperr User rank is First Lieutenant (10000 - 20000 Reputation Level)juniperr User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 4 h 54 m 26 sec
Reputation Power: 109
Easy way is to use a VPN.

With that said

FTPS (FTP-SSL) is a real ftp that uses TSL/SSL to encrypt the control session and if required the data session. With FTPS the control session is always encrypted, but the data session might not be.

SFTP (Secure File Transfer Protocol) is a secure replacement for FTP (File Transfer Protocol) based on the Secure Shell protocol. Unlike FTP, SFTP encrypts both commands and data providing effective protection against common network security risks.

Many FTP servers support secure FTP transfers like proftp and vsftp, However the encryption is usually not supported in web browsers and a ftp client would be needed.


SCP (Secure Copy) is a non-interactive command-line tool for securely transmitting files from a machine to another. It is a secure replacement for RCP and provides a similar command-line syntax. SCP is strongly based on SFTP but is often a more suitable choice when setting up unattended file transfers using scripts.

Last edited by juniperr : April 22nd, 2009 at 04:05 PM.

Reply With Quote
  #6  
Old June 17th, 2009, 11:16 AM
anand4hosting anand4hosting is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Location: india
Posts: 65 anand4hosting Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 11 h 19 m 49 sec
Reputation Power: 0
MySpace
Lightbulb

SSL is not related to FTP server..
if want give permission to your existing users then you need to create a 3 ftp user and give the file permission by rightclicking of the particular folder or a Root directory..ftp commands chmode..

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > FTP and Encryption for Users


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
Stay green...Green IT