Postby shooraijin » Mon Jan 05, 2004 6:49 pm
The New Security Model in HTTPi/1.4 automatically changes user to the owner of any document it serves, even if the document is static. (Previously it only changed UID on executable files.) As a nice side effect, this prevents root-owned documents from running, and you can further proscribe UIDs from serving documents (so no one can symlink /bin/tcsh somewhere and allow people run it as bin:bin).
If this isn't enough, HTTPi could always have been run in separately configured server instances with each running as an independent UID. This only works for multi-homed hosting, though; HTTP Host-based virtual hosting needs to run in one large process (for obvious reasons).
http://httpi.floodgap.com/
shameless plug wa, arigatoo
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan
I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman