RE: [PHP] Capturing Windows Login Details

This is a discussion on RE: [PHP] Capturing Windows Login Details within the PHP General forums, part of the PHP Programming Forums category; Well here is some more information so you can understand what I am trying to do: I need to display ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-11-2003
Gary Ogilvie
 
Posts: n/a
Default RE: [PHP] Capturing Windows Login Details

Well here is some more information so you can understand what I am
trying to do:

I need to display their username in html/php document. This document has
a form which they fill out. It is to stop people changing who they are
when they fill out the form (for example joe bloggs filling out a
timesheet for Melinda messenger - hey it cud happen ;)).

So, by grabbing the username of their NT logon or Firewall access I can
control this.

Many thanks

Reply With Quote
  #2 (permalink)  
Old 07-11-2003
Cpt John W. Holmes
 
Posts: n/a
Default Re: [PHP] Capturing Windows Login Details

> Well here is some more information so you can understand what I am
> trying to do:
>
> I need to display their username in html/php document. This document has
> a form which they fill out. It is to stop people changing who they are
> when they fill out the form (for example joe bloggs filling out a
> timesheet for Melinda messenger - hey it cud happen ;)).
>
> So, by grabbing the username of their NT logon or Firewall access I can
> control this.


Your web server needs to be IIS in order to get this. Is that the case?

If so, disable anonymous browsing. That may be all you have to do. Now,
access to the webroot, even though HTTP will require a valid user on your NT
domain. You can adjust the security settings of the webroot folder to allow
specific people or groups, also.

Now, $_SERVER['LOGON_USER'] will be set with the username of the person.

---John Holmes...

Reply With Quote
  #3 (permalink)  
Old 07-11-2003
Gary Ogilvie
 
Posts: n/a
Default RE: [PHP] Capturing Windows Login Details

Indeed that works thank you very much :)

-----Original Message-----
From: CPT John W. Holmes [mailto:holmes072000@charter.net]
Sent: 11 July 2003 15:50
To: Gary Ogilvie; php-general@lists.php.net
Subject: Re: [php] Capturing Windows Login Details

> Well here is some more information so you can understand what I am
> trying to do:
>
> I need to display their username in html/php document. This document

has
> a form which they fill out. It is to stop people changing who they are
> when they fill out the form (for example joe bloggs filling out a
> timesheet for Melinda messenger - hey it cud happen ;)).
>
> So, by grabbing the username of their NT logon or Firewall access I

can
> control this.


Your web server needs to be IIS in order to get this. Is that the case?

If so, disable anonymous browsing. That may be all you have to do. Now,
access to the webroot, even though HTTP will require a valid user on
your NT
domain. You can adjust the security settings of the webroot folder to
allow
specific people or groups, also.

Now, $_SERVER['LOGON_USER'] will be set with the username of the person.

---John Holmes...


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:04 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0