5 ms·
Is there any security mechanism, which not allow execute external commands (for example `rm -Rf *`)?
by huk 14y ago
Is there any security mechanism, which not allow execute external commands (for example `rm -Rf *`)?
- KevinSjoberg 14y agoI guess the user account has restricted access in what commands are available.
- jwo 14y agoHeroku provides a read-only file system on their Bamboo stack, and a "scratch-pad" file system on their Cedar stack where changes are thrown away after the web request finishes.
- huk 14y agoThanks, I didn't know that.
- jevans 14y agoexec('sudo cat /etc/shadow') => RestrictedCodeException System Calls disabled Also, while File.read('/etc/passwd') works, at least File.read('/etc/shadow') doesn't.