mdarling Posted August 9, 2011 Share Posted August 9, 2011 Is there a way to use the windows authentication when a user logs on to a computer and use that in the browser to authenticate a web application written in php? I would like to create a seamless transition for the users using the application. Link to comment https://forums.phpfreaks.com/topic/244319-authentication-using-existing-windows-login/ Share on other sites More sharing options...
joel24 Posted August 9, 2011 Share Posted August 9, 2011 you would need to install a java applet or ActiveX controls... can't do it through PHP or Javascript to my knowledge *edit* quick google found this activeX code <script type="text/javascript"> <!-- var WinNetwork = new ActiveXObject("WScript.Network"); alert(WinNetwork.UserName); //--> </script> Link to comment https://forums.phpfreaks.com/topic/244319-authentication-using-existing-windows-login/#findComment-1254844 Share on other sites More sharing options...
mdarling Posted August 9, 2011 Author Share Posted August 9, 2011 hmm... yeah i was really hoping to stay away from any java and active x but i really appreciate the input and might just use it . Link to comment https://forums.phpfreaks.com/topic/244319-authentication-using-existing-windows-login/#findComment-1254858 Share on other sites More sharing options...
TeNDoLLA Posted August 9, 2011 Share Posted August 9, 2011 hmm... yeah i was really hoping to stay away from any java and active x but i really appreciate the input and might just use it . Well it kinda might be the only way to do it. Link to comment https://forums.phpfreaks.com/topic/244319-authentication-using-existing-windows-login/#findComment-1254863 Share on other sites More sharing options...
mdarling Posted August 9, 2011 Author Share Posted August 9, 2011 Actually, there is a Kerberos Module for Apache that might do the trick. @TeNDoLLA - not really sure why you said that. You really didn't contribute anything did you? I was just thanking the guy and expressing my distaste for java and activeX - i am hoping for a mostly php solution. This is a php forum after all. Link to comment https://forums.phpfreaks.com/topic/244319-authentication-using-existing-windows-login/#findComment-1254902 Share on other sites More sharing options...
AyKay47 Posted August 9, 2011 Share Posted August 9, 2011 Actually, there is a Kerberos Module for Apache that might do the trick. @TeNDoLLA - not really sure why you said that. You really didn't contribute anything did you? I was just thanking the guy and expressing my distaste for java and activeX - i am hoping for a mostly php solution. This is a php forum after all. haha, dang.. http://www.phpbuilder.com/board/showthread.php?s=&threadid=10218911 Link to comment https://forums.phpfreaks.com/topic/244319-authentication-using-existing-windows-login/#findComment-1254904 Share on other sites More sharing options...
xyph Posted August 9, 2011 Share Posted August 9, 2011 Using Apache/IIS? Yes. http://adldap.sourceforge.net/wiki/doku.php?id=seamless_authentication Link to comment https://forums.phpfreaks.com/topic/244319-authentication-using-existing-windows-login/#findComment-1254923 Share on other sites More sharing options...
mdarling Posted August 9, 2011 Author Share Posted August 9, 2011 Using Apache/IIS? Yes. http://adldap.sourceforge.net/wiki/doku.php?id=seamless_authentication You are awesome! Link to comment https://forums.phpfreaks.com/topic/244319-authentication-using-existing-windows-login/#findComment-1254950 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.