Welcome to WebmasterWorld Guest from 54.234.63.187

Forum Moderators: open

Message Too Old, No Replies

Running an applet

applet, java

     

rodriguez1804

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

5+ Year Member



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">
</applet>

Don't want all to be able to see my ftp_host, user_name/pass!

rocknbil

12:58 am on Dec 4, 2010 (gmt 0)

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



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.

rodriguez1804

3:36 am on Dec 4, 2010 (gmt 0)

5+ Year Member



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.

Thanks.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month