Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Running an applet

applet, java

6:41 am on Dec 3, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 18, 2008
posts: 67
votes: 0

Hey all,

I am trying to run an applet in my website that requires my ftp login info. When I view page source, I am able to see the default parameters, so if I put my actual ftp login info then everybody will be able to see the ftp info, which I don't want. How do I prevent them from seeing this info when they click on view page source?

Example of what is seen when viewing page source:

<applet code="appName" Archive="appName.jar" width="450" height="300">
<param name="host" value="ftp_host">
<param name="user" value="user_name">
<param name="pass" value="user_pass">
<param name="path" value="target_path">
<param name="postscript" value="url_of_script">

Don't want all to be able to see my ftp_host, user_name/pass!
12:58 am on Dec 4, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
votes: 0

If this applet requires these parameters, I'd say find another tool to do what you want to do. There's no safe way to put this on a public page and have it not be public. Unless (big unless) the applet is for public FTP, and that's it's function. Being anonymous it means anyone can log into it anyway.
3:36 am on Dec 4, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 18, 2008
posts: 67
votes: 0

Yeah, this won't be public. What I have is users uploading files to their own folder. Only they will have access to that folder. Do you know any methods to go about this. I want them to be able to upload large files, that's one of the reasons I was looking into integrating an applet that uses ftp, but I can't have it be public.