Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] Determining login name From: Alex Belits (abelits <email protected>)
Date: 08/11/99

On Wed, 11 Aug 1999, David den Boer wrote:

> I don't use PHP on NT, but here is my suggestion (as I have done other
> work in this respect) :
>
> Can you use PHP to call an external script of some kind (Kixtart comes
> to mind, as it can easily talk to the registry and get the login name
> out of the registry).
>
> You may also want to see if PHP can get environment variables from the
> users machine. If this is possible, you can use the NW_LOGIN_NAME (I
> think) that Netware Client 4.11b and later put into the environment
> variable space. A really tiny java applet should be able to do some of
> this as well (and java loads really fast on NT)

  This won't be the user that is connected _to_ this machine -- it will be
a local user, so all remote users will suddently "authenticated" no matter
who they are. No, there is absolutely no any [^G] way to "authenticate"
remote user without either asking him to authenticate, or to make him run
some privileged applet/plugin/whatever to determine how he is
authenticated. And in the second case there will be still a huge problem
of who trusts whom -- user should trust server to be able to use "trusted"
application, and server should trust application that user runs to be
indeed what it sent to him. In other words, DON'T.

-- 
Alex

---------------------------------------------------------------------- Excellent.. now give users the option to cut your hair you hippie! -- Anonymous Coward

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>