wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes Sensitive Information in logs/ console while FTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Sensitive Information in logs/ console while FTP" Watch "Sensitive Information in logs/ console while FTP" New topic
Author

Sensitive Information in logs/ console while FTP

Pawank Kumar
Greenhorn

Joined: Sep 30, 2009
Posts: 1
Hi Guys,

I am using Apache Commons FTP API on Linux. My logs contains following sensitive information(basically FTP commands fired and response retrieved) which I could not suppress by any means. Displaying password is really unacceptable:-
=============
220 (vsFTPd 2.0.4)
USER ftpuser
331 Please specify the password.
PASS admin
230 Login successful.
TYPE A
200 Switching to ASCII mode.
PASV
227 Entering Passive Mode (159,156,163,210,110,136)
STOR /app/data/rds/DEV/todo//standard_approach_ref_data_Test20090929.csv
150 Ok to send data.
QUIT
226 File receive OK.

=================

How to suppress these messages. Is it something to do with Apache API or FTP server issue?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sensitive Information in logs/ console while FTP