Explore Customer Support
  Customer Support Home
Frequently Asked Questions
Maple Online Help
Support Request Form
Offline Activation Request
Download Product Updates
Training
Support Policies

  User Resources
  Product Manuals and Installation Instructions
MaplePrimes
Welcome Center
Maple Application Center
Recorded Webinars
Live Webinars

  Stay Informed
 

Subscribe to the Maple Reporter
Become a Member

Home : Support : Frequently Asked Questions : MapleNet : Enabling File I/O on a MapleNet Server
 
Enabling File I/O on a MapleNet Server

Question:

How can I enable file input/output on a MapleNet server?


Solution:

By default system calls and file input/output are disabled for security reasons. Allowing file I/O on a public MapleNet server can be a major security hole that could allow user submitted worksheets to read files on the server. In a controlled environment, it is possible to setup the server to allow File I/O but worksheets would have to be reviewed to ensure they do not compromise server security.

The restriction on file I/O can be overridden is by removing the -z option in the line

kernel.localhost.program_args=-noclient -jgui -z

and commenting out the line

maplenet.maple.bin.option.2=-z

in the file

$TOMCAT/webapps/maplenet/WEB-INF/classes/maplenetserver.properties

where $TOMCAT is the Tomcat installation folder

(e.g. C:\Program Files\Apache Software Foundation\Tomcat 6.0)


 
Does this article help you answer your question?     

Return to the previous page


Quick Search
Keyword or Phrase: