This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes javascript securely. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "javascript securely." Watch "javascript securely." New topic

javascript securely.

Elgar Ets

Joined: May 21, 2013
Posts: 1

Id like to run user scripts on other computer or in server.
But that method describe here (Java Scripting API is not secure.

Is there any way to run Javascript securely?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
That API is probably secure enough if you run it in a separate classloader and apply a security manager to it.
I agree. Here's the link:
subject: javascript securely.
It's not a secret anymore!