Re: How to get the username, without login prompt?

From: NSpam (NoSpam_at_NoSpam.garbage.rubbish)
Date: 03/02/05


Date: Wed, 02 Mar 2005 15:31:38 GMT

NSpam wrote:
> Ghazan Haider wrote:
>
>> I am posting this for the lack of a better newsgroup, and for the
>> knowledge of people here, and because its only partially OT.
>>
>> We have a bunch of users with their computers at work. There are
>> reports that the users need, which could be in html, php, asp, jsp,
>> whatever.
>>
>> Now I am trying to eliminate the login window entirely. In an html
>> request, the client (firefox, ie, etc) sends the clients hostname, IP,
>> a bunch of other stuff, but never the username. If the server-side
>> scripts could know which user is logged in, it could display only the
>> reports that user has access to. Ideally the process should work
>> across browsers... else I could compile firefox to send the username
>> in the header somewhere...
>>
>> So I ask all the skilled developers here, this intriguing question.
>> How do you pass the username to the server without the login prompt???
>>
>> Ideas:
>> (1) A fixed cookie
>> (2) ActiveX somehow.
>> (3) An applet is loaded that somehow gets the username, and the page
>> redirects in 1 sec, sending the username to the server.
>> (4) Firefox compiled to somewhere in the header include the username
>> (5) An initial page that runs an applet or something, that puts the
>> username into a cookie, and the page redirects in 1 sec, sending the
>> cookie
>>
>>
>> Is there any programming language, api, COM (Activex? applets?) or
>> other method to do this cleanly??
>>
>> will it work if I exclusively use IIS and IE instead of firefox and
>> apache?
>
>
> Quick couple of questions before I ponder.
>
> 1) Is this an internal network (192.168) style
> 2) Straight in access from any IP connection ie visible from the web or
> intranet ?
> 3) Roaming logins in that a user a may login from any machine or is user
> fixed to one specific machine and hence a fixed internal IP ?

Oh and by are client machines running Windows or Linux. If Windows and
we are talking PHP based web pages it should be possible to get the
windows user id/password via the PHP win32 api. Can't speak for Perl. I
don't know if this would answer as you may have different login
requirements for different reporting engines.



Relevant Pages

  • Different Kerberos Principals from Windows Login
    ... When logging onto Windows XP against a Windows 2000 Server domain with a ... simple username of the form 'username', with the domain 'DOMAIN' selected in ... If they use a different login string, ...
    (microsoft.public.windows.server.security)
  • Different Kerberos Principals from Windows Login
    ... When logging onto Windows XP against a Windows 2000 Server domain with a ... simple username of the form 'username', with the domain 'DOMAIN' selected in ... If they use a different login string, ...
    (microsoft.public.windows.server.security)
  • Re: Logon problem
    ... Now I can't even get into windows. ... "Mark L. Ferguson" wrote: ... > me to enter a username and a password. ... I can still login even though> I ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Adding Windows Username to a Database
    ... > I am trying to add the Windows login / Username to a database while using ... The users are using Windows XP, the webserver is on Windows Server ... > Now, because of the quantity of users, the website policy is anonymous. ... > means that users do not login to the website. ...
    (microsoft.public.frontpage.programming)
  • Re: How to get the username, without login prompt?
    ... > Now I am trying to eliminate the login window entirely. ... > request, the client (firefox, ie, etc) sends the clients hostname, IP, ... > a bunch of other stuff, but never the username. ... > An applet is loaded that somehow gets the username, ...
    (comp.lang.php)