Results 1 to 15 of 15

Thread: Anonymous ftp login info needed

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    1

    Default Anonymous ftp login info needed

    Hi,
    Here is a newbie question:
    I have set anonymous ftp and the possibility to upload to /incoming.
    Normal ftp works fine with login as user@domain.com with the password set in cPanel.
    What do I do to login as anonymous and be able to upload that way?
    Thanks in advance for any advice,

    Hans

  2. #2
    Member
    Join Date
    Jul 2004
    Posts
    68

    Default

    Does anybody have the answer to this?
    "You must be the change you wish to see in the world" -Ghandi

  3. #3
    Member
    Join Date
    Nov 2001
    Posts
    610

    Default

    You need a static Ip address for the account if you want to use anonymous FTP.

    Assign a static Ip, and then connect with fake login un/pw as anonymous user.
    I am an eNom ETP.
    Sign up today if you want an eNom.com domain reseller account from a reliable provider.
    * We now provide support and service to over 3250 happy resellers!

  4. #4
    Member
    Join Date
    Jun 2005
    Posts
    72

    Default

    Does this mean that if I don't have a dedicated IP address I can't give access to a file using FTP (ie: in a download area).


  5. #5
    Member
    Join Date
    May 2004
    Location
    USA
    Posts
    413
    cPanel/WHM Access Level

    Root Administrator

    Default

    Yep, you must have a static IP. The reason is that when you ftp anonymously, you are logging in anonymously to the ftp server at your IP address. However, that IP address is shared by many people.

    This is the same reason you can not access your site using just your IP. The apache http server makes provisions for shared IP with multiple domains, and looks at the domain name when you visit a site. With FTP, however, the FTP client will not send the domain name to the server, and the server would not look at it anyway. For FTP to work with multiple accounts on the same IP address, you must use a login name with FTP.

    Just use http instead of ftp:

    http://www.yourdomain.com/file.zip

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by calande2 View Post
    Does this mean that if I don't have a dedicated IP address I can't give access to a file using FTP (ie: in a download area).

    Incorrect.

    With cPanel/WHM, you can enable anonymous FTP access or create additional FTP accounts as needed (if you have sufficient access to do so on the server). However, instead of it being truly anonymous FTP (as in, just check a box and you're on the server) - you would have to give the user the user name of anonymous@yourDomain.com rather than anonymous.

    If you wanted the username to be anonymous... that's a different story.

  7. #7
    Member
    Join Date
    Jun 2005
    Posts
    72

    Default

    Cool deal, David thank you. I'm able to access the anonymous FTP server using a shared IP address this way:

    ftp://anonymous%40snapshots2.pcbsd.o...ts2.pcbsd.org/


  8. #8
    Member
    Join Date
    May 2004
    Location
    USA
    Posts
    413
    cPanel/WHM Access Level

    Root Administrator

    Default

    It looks like you still have a password of "password" on there, right?

  9. #9
    Member
    Join Date
    Jun 2005
    Posts
    72

    Default

    Yes, I put something so that the browser doesn't prompts you. It could be anything actually in the password field.

  10. #10
    BANNED
    Join Date
    Jun 2005
    Posts
    2,023

    Default

    I personally do not recommend activating "Anonymous FTP" for security reason ...

    If you MUST use anonymous FTP, you will need a dedicated IP on
    the account where it is enabled.

    LOGIN: ftp (OR) anonymous
    PASSWORD: your email address

    That is the typical login standard for Anonymous FTP servers

  11. #11
    Member
    Join Date
    Jun 2005
    Posts
    72

    Default

    What security issues may arise? Isn't it just a different way of serving files like HTTP? (Software companies offer software download using ftp.example.com)
    What do you think?

  12. #12
    BANNED
    Join Date
    Jun 2005
    Posts
    2,023

    Default

    Quote Originally Posted by calande2 View Post
    What security issues may arise? Isn't it just a different way of serving files like HTTP? (Software companies offer software download using ftp.example.com)
    What do you think?
    Anonymous FTP is one of the most exploited entrances used by hackers to
    gain a foothold in a server and if you know what you are doing (as do most hackers),
    you can actually abuse the service to execute root escalated commands and in
    some cases even give yourself root access ... or worse!

    It doesn't matter if you are using ProFTPd or Pure-FTPd in regard to the known
    security issues with "Anonymous FTP" because both have continued on going
    issues with this particular item but ProFTPd is definitely worse in that regard.

  13. #13
    Member
    Join Date
    Jun 2005
    Posts
    72

    Default

    cPanel shouldn't allow it then, if it's so insecure
    But do you exploit a breach of the software? Even if you always have the latest patches? Can't you do the same with Apache?

  14. #14
    Registered User
    Join Date
    Jan 2005
    Posts
    3

    Default

    Two issues. Anonymous FTP using cPanel 11 and the changes since cPanel 10 (especially for accounts on shared IP). Second, how to do "semi-secure" anonymous FTP uploads/downloads.

    First, in cPanel 11, the latest, with the changes to FTP, you can no longer use the traditional internet standard of a username of 'anonymous' or 'ftp' for a login name for shared hosting accounts (those on the shared IP address). You have to use 'anonymous@domain.com' and 'ftp@domain.com'. This is a MISTAKE IMHO. cPanel broke the ability to have anonymous FTP which is a better protocol for the transmission of large files (over HTTP). [Note: any password will work and e-mail address is usually what is requested.]

    However, if you have a dedicated IP address, then those standard logins work fine.

    Finally, there are known good ways to allow ftp uploads. For instance, if you set the file permissions on the upload directory (incoming, although you could always make your own) to 733, then the files that are written are not readable by the outside world using anonymous FTP. This is what we do. Also, I make a "pickup" directory that has permissions of 711 so that I can place files there for "anonymous" pickup but without them being able to read the files in the directory.

    Hope that helps!

  15. #15
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by mboyden View Post
    Two issues. Anonymous FTP using cPanel 11 and the changes since cPanel 10 (especially for accounts on shared IP). Second, how to do "semi-secure" anonymous FTP uploads/downloads.

    First, in cPanel 11, the latest, with the changes to FTP, you can no longer use the traditional internet standard of a username of 'anonymous' or 'ftp' for a login name for shared hosting accounts (those on the shared IP address). You have to use 'anonymous@domain.com' and 'ftp@domain.com'. This is a MISTAKE IMHO. cPanel broke the ability to have anonymous FTP which is a better protocol for the transmission of large files (over HTTP). [Note: any password will work and e-mail address is usually what is requested.]

    However, if you have a dedicated IP address, then those standard logins work fine.
    Note that this was the case in cPanel 10 as well (only dedicated IPs having true anonymous FTP). This functionality has not changed.

Similar Threads

  1. Can't disable anonymous ftp - answer needed..
    By xeonia in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 12-23-2009, 02:24 AM
  2. Anonymous FTP directory /var/ftp/pub
    By moinkhan31 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-18-2008, 02:34 PM
  3. Info Needed About VPS
    By seandupars in forum Database Discussions
    Replies: 3
    Last Post: 10-16-2007, 02:43 PM
  4. Disable Anonymous FTP Problem [Pure-FTP]
    By 3en in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-22-2005, 02:41 PM
  5. Welcome Message for Ftp Anonymous login question ?
    By hkewell in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-07-2004, 03:58 PM