LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-23-2014, 03:09 PM   #1
embryo100
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
Using ActiveX for communication beween Windows Active Directory and website on Linux


We have a client on Windows - utilising an internal Intranet. We want their users to be able to login to a website membership area without having to enter login details.

A suggestion has been made regarding using ActiveX and PHP on the website to query the users machine for a username that is then matched with a username in the MySQL database on the website.

This sounds like a potential solution, but is it feasible? as I cannot find anything in Google that would give me a good starting pointing on implementing this or something similar.

Thanks,
Emmett
 
Old 08-24-2014, 03:28 AM   #2
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
no, there is no activeX on linux
however,
there are plenty of websites that can remeber login cretentilas without ActiveX,
so possible your solution is not the best one, sounds like a something from the last century where people thought activeX in a website is a good idea
 
Old 08-24-2014, 10:40 AM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Do the machines have static IPs? If they do, then the server can recognize those and check them against a login database.
 
Old 09-02-2014, 12:23 PM   #4
embryo100
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks guys. I think we came to the same conclusion that we need to find a different way of doing this.
 
Old 09-03-2014, 05:04 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935
You should be able to use Apache authentication to query Open Active Directory (LDAP ...) and use this method to restrict access to all or part of the website. Since the website is internal, you do not have to implement a "login" system within the website itself, as you must do "outside." If the user isn't authorized (according to the company's security department), they can't get there. If they do get there, your PHP program has a reliable way to identify them and to know more about them. This creates "single sign-on."

Apache (or other) systems running on Linux can query an ActiveDirectory domain for authentication/authorization purposes, as can Linux itself (through PAM). There are many documents out there on the web that discuss how to do this.

(ActiveDirectory is basically Microsoft's pet trade-name for ... LDAP.)

I believe that you are incorrectly using the term "ActiveX" in this case, and that you mean "Active Directory."

Note: it's usually a good idea to have your script check the "ActiveX user" information that is provided by Apache ... which is known-good. If it is not there, then somehow the site has been accessed by someone whose identity is not known, i.e. due to an Apache configuration error or somesuch. In this case, the site should return, say, a "401 Not Authorized" code and refuse to do anything. Never use the same site for both "internal use only" and "public" purposes.

Last edited by sundialsvcs; 09-03-2014 at 08:39 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Linux VM to Windows 2008 Active Directory user9999 Linux - Newbie 1 01-18-2011 02:46 AM
linux authentication with Windows Active Directory carlicus Linux - Newbie 9 11-10-2009 04:31 PM
Linux Authentication to Windows Active Directory carlosinfl Linux - General 1 07-15-2008 10:16 AM
Authenticating Website Users against Active Directory deadlock Linux - Server 1 01-15-2008 05:10 AM
What solution can make browser in linux can work find with ActiveX-pluged website? golien Linux - Software 2 03-16-2006 06:56 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration