Re:RestrictedPython
by jakobson14 on Wednesday July 31, 2024 @12:49AM
(#41116465)
Still blows my mind that TCL includes a firewall and virtual filesystem layer.
https://wiki.tcl-lang.org/page/firewall
https://wiki.tcl-lang.org/page/VFS
https://wiki.tcl-lang.org/page/tclvfs
You can even build a FUSE filesystem in TCL!
Re:RestrictedPython
by jakobson14 on Wednesday July 31, 2024 @01:00AM
(#41116507)
Oh, side note: Safe interps now have available time limits and a few other measures, though it seems memory allocation limits are a harder nut to crack due to all the places a memory allocation can occur in the TCL interpreter.
Overview for unfamiliar readers:
https://www.tcl.tk/software/plugin/safetcl.html
https://wiki.tcl-lang.org/page/Config+file+using+slave+inter...