I have an Apache Server serving PHP pages. Now when ever a user request for a page, I need to check if the user is logged onto a domain(all users are on Windows machine, webserver runs on Linux). If user is logged onto a domain grant acces else deny access.
1. User A logs into his computer (running Windows).
2. Request for say index.php on my web server.
3. Here is where I need help. Check user is logged in onto domain say mydomain.
If user is logged in onto domain, allow access to index.php
else deny access.
I need to know the answer asap pleas.