[HELP]Is it possible to load JavaApplet and pass applet parameters from a Javascript file?

blackmint

Senior Member
Joined
Jun 8, 2013
Messages
931
Reaction score
437
I have a website on which a Java Applet Loads.
I don't want the users to see the Applet Path or At least Applet Parameters from View Source Code Option.
Because there is my Login Info in the parameters.

Is it possible to load all these data from an external file like JS file for which the visitor don't have Direct Access to.
I don't want the visitor to know my login details to the Applet.

Below is my Code.


Code:
[B]<html>

<head>
<title>Auto Poster</title>
</head>

<body>
<p><b></b></p>
        
<applet
  archive  = "poster.jar"
  codebase = "."
  code     = "1.poster.class"a
  name     = "aposter"
  width    = "200"
  height   = "200"
  hspace   = "0"
  vspace   = "0"
  align    = "middle"  
  mayscript = "true"
  scriptable = "true"
  alt="Enable or install java: http://www.java.com/en/download/index.jsp"
>
<param name = "loginIP" value = "192.168.1.1:12345"> 
<param name = "loginName" value = "testlogin">
<param name = "loginpwd" value = "testpwd">
<param name = "MAYSCRIPT" value = "true">
<param name = "mayscript" value = "yes">
<param name = "scriptable" value = "true">
<param name = "pluginspage" value = "http://java.com/download/">
<param name = "permissions" value = "all-permissions">

<b>You must enable java or install from <a href="http://www.java.com/en/download/index.jsp"> here </a>  </b>
</applet>

</body>
</html>[/B]
 
Whatever file the user's browser can reach, the user can read, so no.
 
Whatever file the user's browser can reach, the user can read, so no.

Ok.

But is the above thing possible via calling external JavaScript ?
 
There's no difference though, like jazzc said, if your objective is hiding it from the user view, then they will be able to see it regardless. If you want to make it harder... that's another thing.
 
I got it.
But my idea is to copy the above code to JS File and call that in my homepage in a single line.
At least a single layer protection...

If possible how to code JS File. Anyone???
 
Back
Top