Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

[PHP] run processes from php as authenticated user From: Bill Pitz (usenet <email protected>)
Date: 09/22/01

I'd like to write some web based utilities for users to change things like
mail forwarding and vacation autoreplies, as well as password changing.

In order to do these things, I need to have a way for the PHP script to
assume the privileges of the authenticated user. (If they don't supply
the correct username/password, they won't be allowed to use the tools.)

Is there any way PHP can do this? I can't just setuid to a static user,
since there are many users who would be using this tool.

I'm sure there's got to be a way, even if it involves other packages as
well. Any ideas?

Thanks,

-Bill

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>