Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use windows authentification with php / symfony

I work on a Symfony application intranet. I heard about the possibility of using the authentication window rather than having to log in using a conventional authentication window.

Could someone could give me 1 or 2 link addresses on the subject? I searched for myself but I can not find the right keywords. Is he is WSSE?

Thank you in advance!

like image 782
Arraxas Avatar asked Oct 20 '22 02:10

Arraxas


1 Answers

If you run your PHP application on an IIS instance on a windows server which is in an AD togheter with the other computers which uses this application you can turn off access for the website in your IIS interface for "Anonymous" users.

Afterwards you can check against one of the $_SERVER['AUTH_USER']/$_SERVER['PHP_AUTH_USER'] variables in PHP which contains domain\user information. You don't even need to show any login dialogue. So it's a SSO (single sign on) process then.

See the link below for more information about this:

http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/enable-php-applications-to-make-application-level-access-control-decisions

like image 55
TiMESPLiNTER Avatar answered Oct 22 '22 16:10

TiMESPLiNTER