Re: unix permissions for 4.0

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29586
interpreted = N
texte = Grant - I believe I sent a long e-mail sometime last year with my suggestions for a secure multiuser WebCatalog (I'll see if I still have it). I suggested that you should investigate splitting the write daemons from read daemons, then have them spawn on different schedules. The read only daemon would run as nobody and would hand off any write requests (via IPC or named pipes) to a write daemon which would be virtual host specific. This would allow someone to securely host many users, allow the files to be owned by each virtual site user. You would keep a pool of read daemons, which would be shared across all sites, and then spawn a write daemon for append/replace/writefile.You would need to have a virtual host table in RAM which would decide which user would be used for each directory tree. You will need a good RegEx engine to do this fast, so you can determine on the fly which heirarchy a given file belongs to. You might even be able to use chroot to lock the daemons into a given directory. I don't think it would be very profitable to pre-spawn daemons for each virtual site.I really would not see any point to simply choose some other user to be the daemon owner; it would probably come back to bite you on the support end, because people would not chose safe daemon users. There is a very good reason why virtually all daemon processes start as root and switch to a non-priveledged account. The security risks are too great otherwise. Only long-lived processes that absolutely require root access run as root (or some other priveledged account). HTHJohn Peacock ____________________Reply Separator____________________ Subject: unix permissions for 4.0 Author: Date: 3/24/00 11:21 AMQuick question for all you unix experts -- would it help you if WebCatalog had a preference for which user it started up as? Right now it starts up as root, then immediately and permanently switches itself to user nobody.We're trying to dig through all the possible side-effects of such a move.Grant Hulbert, Director of Engineering ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development Main Line: (858) 675-1106 | http://www.smithmicro.com Fax: (858) 675-0372 ********************************** ############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: unix permissions for 4.0 (jpeacock@univpress.com 2000)
Grant - I believe I sent a long e-mail sometime last year with my suggestions for a secure multiuser WebCatalog (I'll see if I still have it). I suggested that you should investigate splitting the write daemons from read daemons, then have them spawn on different schedules. The read only daemon would run as nobody and would hand off any write requests (via IPC or named pipes) to a write daemon which would be virtual host specific. This would allow someone to securely host many users, allow the files to be owned by each virtual site user. You would keep a pool of read daemons, which would be shared across all sites, and then spawn a write daemon for append/replace/writefile.You would need to have a virtual host table in RAM which would decide which user would be used for each directory tree. You will need a good RegEx engine to do this fast, so you can determine on the fly which heirarchy a given file belongs to. You might even be able to use chroot to lock the daemons into a given directory. I don't think it would be very profitable to pre-spawn daemons for each virtual site.I really would not see any point to simply choose some other user to be the daemon owner; it would probably come back to bite you on the support end, because people would not chose safe daemon users. There is a very good reason why virtually all daemon processes start as root and switch to a non-priveledged account. The security risks are too great otherwise. Only long-lived processes that absolutely require root access run as root (or some other priveledged account). HTHJohn Peacock ____________________Reply Separator____________________ Subject: unix permissions for 4.0 Author: Date: 3/24/00 11:21 AMQuick question for all you unix experts -- would it help you if WebCatalog had a preference for which user it started up as? Right now it starts up as root, then immediately and permanently switches itself to user nobody.We're trying to dig through all the possible side-effects of such a move.Grant Hulbert, Director of Engineering ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development Main Line: (858) 675-1106 | http://www.smithmicro.com Fax: (858) 675-0372 ********************************** ############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to jpeacock@univpress.com

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Spaces in sendmail (1998) Template not found error messages (1997) Capitalize (2000) Quit revisited (1997) RE: Problems reading files created by WC (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Creating a folder with WebCat? (2000) no global [username] or [password] displayed ... (1997) Separate SSL Server (1997) WebCatalog Technical Reference (1997) This is probably a stupid question... (2004) CyberCash on OS X (2005) Size limit for tmpl editor ? (1997) RE: Languages (1997) search vs lookup (1998) How to get shownext to just shownext once (1997) [WebDNA] Sorry WebDNA server not running (2014) When do we get to request new features? (1999) So many lookers, hey smith micro (2003) Shopping Cart Limits? (1998)