• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript securely.

 
Elgar Ets
Greenhorn
Posts: 1
Debian Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Id like to run user scripts on other computer or in server.
But that method describe here (Java Scripting API http://docs.oracle.com/javase/7/docs/technotes/guides/scripting/programmer_guide/) is not secure.

Is there any way to run Javascript securely?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That API is probably secure enough if you run it in a separate classloader and apply a security manager to it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic