OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Implement trust levels

Open ike709 opened this issue 2 years ago • 4 comments

Since SS14 server sandboxing isn't really a thing, we need to implement BYOND trustlevels.

ike709 avatar Mar 10 '22 16:03 ike709

Trusted - YOLO Safe - Popup for DLLs, prompt for every file I/O outside of the project directory Ultrasafe - Same as safe but prompt for any file I/O

ike709 avatar Mar 15 '22 18:03 ike709

shell() is presumably blocked at safe or higher

ike709 avatar Mar 15 '22 18:03 ike709

A useful improvement would be terminal only prompts for headless servers

actioninja avatar May 13 '22 08:05 actioninja

The PR open for this issue (#637) uses a CVar to set the trust level, which can be set either in the server_config.toml file or as a --cvar argument when running the server.

wixoaGit avatar May 13 '22 23:05 wixoaGit