• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java applet in HTML with Javascript, security issues

 
Robin Barraclough
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone

I'm a pretty seasoned HTML/Javascript developer, but know next to nothing about Java applets, so I've got a question I hope some people might be able to help me out with.

I'm trying to set up an applet on a website which is designed to access the user's local machine, install a windows executable game and run the game, all from the site. I believe this to be possible once the jar package has been certified, but is there any way that local machine disk i/o can be achieved without the use of a signed applet, e.g. while in testing mode

I've embedded the applet using <applet></applet> tags, and that all seems to work ok, and I'm getting stuff appearing on the webpage. However, I can't get it to do very much...

Basically, I'm getting the error



when the applet tries to create temporary folders on the local machine for installation.

Any help/advice would be gratefully appreciated
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Solarise Design", please check your private messages for an important administrative matter.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your new screen name is no better than the old one. Please read the policy and adjust it accordingly.

As to your question, applets can't access the local file system. See HowCanAnAppletReadFilesOnTheLocalFileSystem for the two possible ways around that.
 
Robin Barraclough
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the information, Ulf.

I was unaware that my screen name was unacceptable, I generally try and avoid using my real name on forums where possible.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Un-real names are fine, but they need to look like they could be real ... which the previous ones didn't.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic