Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 17, 2004

Access Denied: Safeguarding FTP Files


RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

We have a business partner who regularly needs to send a file to our server over the Internet. Our only option is FTP, and we can't use VPNs, IP Security (IPSec), or FTP over Secure Sockets Layer (SSL). We've thought about encrypting the file, but we also realize FTP authentication is weak because the password is sent in clear text. We don't want an attacker who manages to capture our password to be able to wait for the transfer to complete, then log on and download or delete the file. Can we set up the transfer so that attackers between us and our partner firm can't benefit should they capture our FTP password?

Yours is an interesting challenge, but you can meet it by using an encryption utility and implementing proper user permissions. First, create a user account for the business partner—for demonstration purposes, I'll call the account Acme-FTP. To properly limit the new account, remove Acme-FTP from the Users group to which Windows automatically adds all new accounts. Create a folder in your FTP server's root folder called AcmeFileDrop. Open the folder's Properties page, click the Security tab, then click Advanced and clear the check box that lets the folder inherit permissions from the parent folder. When Windows asks whether to copy or remove the permissions, select Remove. Then, add the Administrators and SYSTEM groups to the folder and give them Full Control. Add any other groups that need to be able to access the files that Acme delivers, and grant those groups Modify or Read access, as appropriate.

Next, add the Acme-FTP account and give it the specialized set of permissions that Figure 2 shows. As you can see, I grant Acme-FTP only the ability to create new files in the AcmeFileDrop folder. Finally, arrange to have Acme encrypt the file before sending it; Acme can use any of the several available encryption utilities that use shared keys or public/private key pairs.

Now, when Acme sends an encrypted file to your system, your security risk is much lower. An attacker who manages to capture Acme-FTP's clear-text username and password and use them to access your FTP server will be successful only if he or she can also spoof Acme's IP address. If the attacker manages to log on to your FTP server, he or she will be able to create new files but won't be able to download or change existing files.

The two risks that remain are that the attacker could create spurious files or fill up your system volume. Always validate new files (e.g., confirm they were encrypted with the proper key) before processing them. If you place AcmeFileDrop on a separate volume or if your FTP server is on a version of Windows that supports user disk quotas, you can prevent an attacker from filling up the system volume.

The only way an attacker could get an existing file is to reconstruct it from captured FTP packets, then work on cracking the encryption key. In case an attacker modifies the file in transit between you and your business partner, be sure you use a well-written encryption utility that uses a standard encryption protocol and detects modifications to the file after encryption. Never choose encryption software that uses proprietary encryption. One sign of a good utility is that the author explains the encryption methods used; a better sign is that he or she has made the utility's source code available for review by an encryption specialist. If the utility uses shared key encryption, make sure you select long, hard-to-guess keys, and don't exchange keys with Acme over the Internet (e.g., do it by phone). Many such utilities are available on the Internet, but I prefer WinZip 9.0 because it supports 256-bit Advanced Encryption Standard (AES) encryption and provides compression as well.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

Escape From Yesterworld

Kevin points you to the funniest SQL Server website ever! ...

The Desktop tab is missing from the Display Properties in Windows XP?

...


Security Whitepapers Anti-Virus Is Dead: The Advent of the Graylist Approach to Computer Protection

Getting the Job Done: Comparing Approaches for Desktop Software Lockdown

Instant Messaging, VoIP, P2P, and games in the workplace: How to take back control

Related Events Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

WinConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

Maximize your SharePoint Investment – 8 Cities
Discover best practices and tips for both architecting and administering SharePoint. Early Bird Price of $99 through Sept 15th.

Find a new job now on the all new IT Job Hound!
Search jobs, post your resume, and set up job e-mail alerts!

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Top Tools for Virtualization Disaster Recovery & Replication
View this web seminar on August 14th to learn about two tools that will result in faster backup and restore with P2V disaster recovery.

SharePointConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

VMworld 2008 - Sign Up Today!
Join your peers on September 15-18 at The Venetian Hotel in Las Vegas as VMware hosts VMworld 2008, the leading Virtualization event.



When managing just VMware isn’t enough
Plan/Manage/Secure – NetIQ VMware management. Download whitepaper.

What’s up with your network? Find out with ipMonitor
Availability monitoring for servers, applications and networks – FREE trial

Microsoft® Tech•Ed EMEA 2008 IT Professionals
Advance your thinking with new ideas and practical real-world solutions at Microsoft’s FIVE day technical infrastructure conference 3-7 Nov., 2008. Register before 26 September 2008 to save €300.

Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.

Are You Really Compliant with Software Regulations?
View this web seminar that will help you with compliance best practices and check out a management solution to assure that you won’t be in jeopardy of an audit.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16 in London.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing