• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java applet in HTML with Javascript, security issues

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Solarise Design", please check your private messages for an important administrative matter.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic