This may be a simple scenario, but I’m not finding how to do this in node:

*) User A logs in as “bob”.
Server drops privs to do “bob”’s bidding as “bob”.


*) User B logs in as “bob”.
Server drops privs to do “jane”’s bidding as “jane”.


Since Node doesn’t fork for an incoming connection, is it still possible
to have two concurrent execution threads that run with different privileges?

-F

-- 
Felipe M. L. Gasper
http://felipegasper.com

“Wisdom can never learn enough. Ignorance is sufficient unto itself.”
    -Mechtild of Magdeburg

“Dad always thought laughter was the best medicine,
 which I guess is why several of us died of tuberculosis.”
    -Jack Handey

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to