authentification against host

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
seem
Forum Newbie
Posts: 6
Joined: Fri Jun 28, 2002 9:48 am
Location: Munich, Germany

authentification against host

Post by seem »

Hello,

is there any possibility to use the user accounts located on the host which is running the webserver for authentification. We have a NIS-server for centralized user authentification and I want use this user accounts for authentification with my web application (single-sign-on is not necessary). This is because I don't want to create extra user accounts for the department's web applications. This is one more password to change, one more password to forget and lots of accounts to be created.

I thought about a combined .htaccess / PHP solution. Perhaps it is possible to create a .htaccess file which handles the authentification against the host. After a successful authentification the PHP page is called and this page can access the user data by some variables.
But I'm not sure how set up something like this

Thanks in advance

Andy
Post Reply