Re: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-21 Thread Giovanni Bianchini
html head titleUser Login Page/title link rel=stylesheet href=css/default.css /head body bgcolor=#FF table width=700trtd align=center img src=images/mywarehouse.gif alt=my warehouse width=541 height=67 /td/tr/table table width=700 border=0 cellpadding=0 cellspacing=0 tr td

RE: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-21 Thread Mark jensen
Thanks alot for your help, I will try to understand your answer :) and I hope it will help me

Re: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-21 Thread Giovanni Bianchini
Mark; Basically you present the user with a login page and their login name and password authentication are matched to a database query that also pulls a database field named page2load. The query then passes that parameter to the browser. You can also use their ipaddress as a match to the

RE: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-21 Thread Mark jensen
Thanks for your reply again. but the css and the Images ( all the page content folder ) aren't included in your reply can you sent them please :)

RE: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-20 Thread Mark jensen
Thanks for your reply I have done some programming and my DB I have mention is like this: User    IP   Mark    10.10.10.1 Mike    10.10.10.2 Karl    10.10.10.3 - so can apache do a sql query to this DB and if the IP of the user is found in this DB, don't ask him for the

Re: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-20 Thread Eric Covener
On Sun, Jul 20, 2014 at 6:24 AM, Mark jensen ngiw2...@hotmail.com wrote: - so can apache do a sql query to this DB and if the IP of the user is found in this DB, don't ask him for the authentication? - Or can apache authenticate the user by it self if it finds the IP of the user in the DB?

Re: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-20 Thread D'Arcy J.M. Cain
On Sun, 20 Jul 2014 10:24:21 + Mark jensen ngiw2...@hotmail.com wrote: - so can apache do a sql query to this DB and if the IP of the user is found in this DB, don't ask him for the authentication? - Or can apache authenticate the user by it self if it finds the IP of the user in the DB?

RE: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-20 Thread Mark jensen
about the session/cookies solution you have said: You can base your logic on the IP address of the sender and either send them to a login screen or directly to the application. How can I do this, Do I have to write a shell script or something like that, is there any helpful tutorial?

Re: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-20 Thread Edgar Pettijohn
http://php.net/manual/en/book.session.php http://php.net/manual/en/features.cookies.php On 07/20/2014 08:49 AM, Mark jensen wrote: about the session/cookies solution you have said: You can base your logic on the IP address of the sender and either send them to a login screen or directly to

Re: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-20 Thread D'Arcy J.M. Cain
On Sun, 20 Jul 2014 13:49:40 + Mark jensen ngiw2...@hotmail.com wrote: How can I do this, Do I have to write a shell script or something like that, is there any helpful tutorial? Something like that. At this point you are looking at a major programming project. I don't think you will find

Re: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-19 Thread D'Arcy J.M. Cain
On Sat, 19 Jul 2014 21:15:49 + Mark jensen ngiw2...@hotmail.com wrote: we know that we can protect some pages in our apache server using authentication: http://httpd.apache.org/docs/2.2/howto/auth.html but what if I have already authenticate the users using something else and add this

RE: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-19 Thread Mark jensen
what I really want is to deploy single sign on, I have authenticates users using ieee802.1x and put the authenticated users in a DB, BUT I authenticate only the inside ( inside my network ) users, and I don't want apache to reauthenticate them, I want apache only to authenticate the outside

Re: [users@httpd] can Apache do a sql query and Authenticate only some users?

2014-07-19 Thread D'Arcy J.M. Cain
On Sat, 19 Jul 2014 23:05:22 + Mark jensen ngiw2...@hotmail.com wrote: what I really want is to deploy single sign on, I have authenticates users using ieee802.1x and put the authenticated users in a DB, BUT I authenticate only the inside ( inside my network ) users, and I don't want