Changes between Version 407 and Version 408 of WikiStart
- Timestamp:
- 04/14/21 09:44:58 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v407 v408 924 924 Additionally, crashing your machine is not a good idea anyway. Thherefore you should be careful on how you use these powers. We recommend for instance 925 925 926 * Respect the Party#terminate() call 926 927 * Properly free your resources after use 927 928 * 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 928 930 * 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. 929 931 * 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 code932 * 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. 931 933 * Avoid calling system.exec() functions if possible at all 932 934 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.935 If 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. 934 936 935 937 == Party Parameters