SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2005
    0 Post(s)
    0 Thread(s)

    Upload using FTP, or alternatives

    I'm trying to find a way to upload large files to a server thought a web PHP based portal. Since PHP has the max file limitation, I thought of doing the upload with a java applet, using ftp connection, and in the process enabling drag and drop for that. The thing is, I'm still a beginner in java, but I think that if the ftp login data is on the code, using a java decompiler someone could get access to the ftp, and that would be a severe security flaw.

    I was trying to do this without using servlets because probably my server doesn't have support them, and then i could use the class in other servers.

    Is there a way to do this securely using ftp connection (I'm using Jakarta libs by the way), hidding the ftp login data somewhere else, or something?

    Thx in advance

  2. #2
    SiteP0int Weazle hooknc's Avatar
    Join Date
    Dec 2004
    Socialist Republic of Boulder
    0 Post(s)
    0 Thread(s)
    You most likely would have to use a signed applet or produce a java application yourself.

    Also, FTP is inherently INsecure because of sending the username and password in plain text. However, if someone uses a java decompiler on your code they could find out the password anyways.

    Best of Luck.
    baby steps... baby steps...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts