Changes between Version 407 and Version 408 of WikiStart


Ignore:
Timestamp:
04/14/21 09:44:58 (3 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v407 v408  
    924924Additionally, crashing your machine  is not a good idea anyway. Thherefore you should be careful on how you use these powers. We recommend for instance
    925925
     926* Respect the Party#terminate() call
    926927* Properly free your resources after use
    927928* If you need to write file, consider writing them in the /tmp directory
     929* If FileLocations are provided for learning, use those instead of making your own files
    928930* Don't write to fixed files. Multiple of your parties might be running at the same time and therefore could cause a resource lock. Or your file might get damaged.
    929931* Write secure code. Particularly
    930  * Do not allow others to pass bad parameters settings (e.g., parameters) to your party such that your party would write to unpredictable files or directories, or worse cause execution of arbitrary code
     932 * Do not allow others to pass bad parameters settings (e.g., parameters) to your party such that your party would write to unpredictable files or directories, or worse, cause execution of arbitrary code.
    931933 * Avoid calling system.exec() functions if possible at all
    932934
    933 If you need to run a party written by soneome else, we recommend to run it on an isolated machine and possibly even without any network connection. That way you can entirely dispose the party and all its side effects after running, ensuring the integrity of your other machines.
     935If you need to run a party written by soneome else, we recommend to run it on an isolated machine (virtual machine, docker, or even a physically isolated machine) and possibly even without any network connection. That way you can entirely dispose the party and all its side effects after running, ensuring the integrity of your other machines.
    934936
    935937== Party Parameters