r1 - 23 Jun 2008 - 02:16:03 - ZacSim?You are here: TWiki >  Main Web  >  ElixirReport > ElixirReportCookbook > RegisterDirectoriesForJavaScriptsToAccess

Register Directories for JavaScripts to Access

For users who are doing alot of JavaScript that requires access to directories -

To amend this, edit the policy config file to add these two lines:

permission java.io.FilePermission "C:/Scripts/2008/06", "read";
permission java.io.FilePermission "C:/Scripts/2008/06${/}-", "read";

to the /** Permissions for user written Javascripts **/ section.

Note: "C:/Scripts/2008/06" is the path to a the filesystem that you are working on.

-- ZacSim? - 23 Jun 2008

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback