Search /
Docfinder:
Advanced search  |  Help  |  Site map
RESEARCH CENTERS
SITE RESOURCES
Click for Layer 8! No, really, click NOW!
Networking for Small Business
TODAY'S NEWS
The botnet world is booming
What’s driving this university to IPv6? Going green
Google takes direct aim at Microsoft
Microsoft promises to stymie hackers next week with new patches
Chrome OS spotlights rapidly changing mobile Web environment
IT pros continue to lose jobs
How ending exclusivity agreements would change the telecom industry
How to use electrical outlets and cheap lasers to steal data
EMC distances rival NetApp
Crime lab saves energy costs by turning up heat in the data center
IBM security software masks confidential info
Google Native Client provides hints on Chrome OS gambit
Ericsson signs deal to run Sprint wireless, wireline networks
Verizon helping companies assess application vulnerabilities
Internet's biggest issue? IPv6 transition, new ARIN CEO says
Applications /

FTP server security

Gearhead archive

We have spent the last four weeks hacking through the light brush that is the FTP. If you've been following along we think you'll agree that it's a lot easier than tackling the jungles of HTTP or the mountains of SMTP and Post Office Protocol 3.

This week we're going to look at FTP servers. The server that is probably most common for Network World readers is the one that comes with Microsoft's Internet Information Server (IIS).

The version of FTP that came with Windows NT 3.5 was ugly to install, so many people screwed up their installations by leaving security holes big enough to drive a truck through. NT 4.0 made FTP part of IIS and vastly simplified installation and management.

Advertisement:

That said, the Microsoft IIS FTP service is pretty vanilla, implementing all the expected features and some that seem odd in this age of heightened security awareness. For example, the default is to allow anonymous FTP access, so if you don't change that setting you'd better know what files are accessible through the service. In all fairness, it must be mentioned that the security issues we're discussing apply to all FTP servers, not just IIS' FTP service.

If you are going to use anonymous access you'd be advised to create "drop boxes" for incoming files - subdirectories that are write-only. Then, for files that are considered acceptable for public access (they have been inspected for hidden dangers), you would need other "outgoing" subdirectories configured as read-only. The downside of this is that you have to check and move files from incoming to outgoing subdirectories.

Now, if you don't take such precautions, don't be surprised to wake up one morning to find that you are hosting an illegal file distribution service for some enterprising hackers. And don't say that will never happen to you - pirate sites on hijacked FTP servers are pretty common and the cost of transferring terabytes of illegal content can be huge!

So let's say you disable anonymous access and have users authenticate through their NT accounts - now it is nice and secure, isn't it? Actually, no, it isn't.

You see, the problem is that names and passwords are transferred across the TCP/IP connection in plain text, so anyone sniffing the network will find out all they need to know to gain access.

This potential account exposure is usually more of a problem in corporate networks than on the 'Net, but if one of your users is on a cable modem system and accessing the corporate FTP server, other users on the same segment could potentially "listen in" with packet sniffers - then you can say goodbye to your corporate security.

The bottom line is that FTP servers should NEVER be used to distribute sensitive material. You could safely use write-only drop boxes for uploading sensitive files, but as there is no support for encrypted client/server connection to the server you'd better encrypt all uploaded files first.

Of course, if you constrain FTP access to circuits created over VPN connections, then as long as the VPN is secure end-to-end, FTP will also be acceptably secure.

Next week, we'll tell you the problem with the SITE command. Until then, make your connection to gearhead@gibbs.com.

RELATED LINKS

Comments and suggestions to gh@gibbs.com.

Gibbs Forum
The place to discuss Gibbs's columns.

Check out this week's edition of

Backspin for more musings from Gibbs.

Part 1: Intro to FTP
Network World, 7/23/01.

Part 2: The connection to the server is made
Network World, 7/30/01.

Part 3: Connection modes
Network World, 8/6/01.

Part 4: Let the transfers begin
Network World, 8/13/01.

Part 6: SITE and SYST
Network World, 8/27/01.


NWFusion offers more than 40 FREE technology-specific email newsletters in key network technology areas such as NSM, VPNs, Convergence, Security and more.
Click here to sign up!
New Event - WANs: Optimizing Your Network Now.
Hear from the experts about the innovations that are already starting to shake up the WAN world. Free Network World Technology Tour and Expo in Dallas, San Francisco, Washington DC, and New York.
Attend FREE
Your FREE Network World subscription will also include breaking news and information on wireless, storage, infrastructure, carriers and SPs, enterprise applications, videoconferencing, plus product reviews, technology insiders, management surveys and technology updates - GET IT NOW.
* HOME    * RESEARCH CENTERS     * NEWS     * EVENTS

Contact us | Terms of Service/Privacy | How to Advertise
Reprints and links | Partnerships | Subscribe to NW
About Network World, Inc.

Copyright, 1994-2006 Network World, Inc. All rights reserved.