Running java applet without needed permission

xNotch

Registered Member
Joined
Sep 16, 2014
Messages
82
Reaction score
21
How do you run an applet without it being blocked by the browser? I've read up a little on signing it with a public key, but will it still need to be given permission to run? It doesn't do anything with the file system it runs runs and sends back the occasional server request.
 
You are sure that you want to use a Java-applet in the browser? The only real world application of this stone-age technology these days I know is within companies. In the open internet java-apps are pretty much dead. I still wonder why the hell the applet-programming is still part of most java learning curriculums. Java-applets have so many security issues that every half witted IT-geek will tell you to turn that off in your browser anyway.

Sorry about the rant. And sorry that this is no answer to your question.

If possible, please move on to more modern technologies, namely JavaScript/HTML5. If your script needs more rights, go with a browser extension.
 
the applet does a lot of calculations which i think would run unbearably slow in javascript.
 
It's a browser thing and I don't think it is possible to run the applet silently. Even banking applications which use java isn't able to auto-run an applet ( and quite rightly so).
 
the applet does a lot of calculations which i think would run unbearably slow in javascript.

Did you test current JavaScript engines? I understand the limitations for hard math with JavaScript, since there is no real long type and everything is done in floating point arithmetic, but i found the JavaScript JIT-compilers of modern browsers pretty powerful. Maybe you should consider doing the calculations on the back-end? Or is it client dependent what needs to be calculated?
 
Did you test current JavaScript engines? I understand the limitations for hard math with JavaScript, since there is no real long type and everything is done in floating point arithmetic, but i found the JavaScript JIT-compilers of modern browsers pretty powerful. Maybe you should consider doing the calculations on the back-end? Or is it client dependent what needs to be calculated?

It's a client side thing else I'd just do it on the server. But I have started thinking about javascript. I was reading up a little on asm.js anyone have any experience?
 
Avoid using applets. They are blocked by default in Chrome (signed or not).
 
It's a browser security for the users, i don't think you can run those applet silently without the browser noticing it.
BTW, why are you still using Java-applets. There are a lot of security issues with that. you can switch to a more modern technology.

Best of luck. :)
 
Last edited:
Back
Top