Re: How to get the username, without login prompt?
From: NSpam (NoSpam_at_NoSpam.garbage.rubbish)
Date: 03/02/05
- Next message: Philipp Lenssen: "Yahoo API + PHP5: "Unknown encoding utf-8"?"
- Previous message: NSpam: "Re: How to get the username, without login prompt?"
- In reply to: NSpam: "Re: How to get the username, without login prompt?"
- Next in thread: Ghazan Haider: "Re: How to get the username, without login prompt?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Philipp Lenssen: "Yahoo API + PHP5: "Unknown encoding utf-8"?"
- Previous message: NSpam: "Re: How to get the username, without login prompt?"
- In reply to: NSpam: "Re: How to get the username, without login prompt?"
- Next in thread: Ghazan Haider: "Re: How to get the username, without login prompt?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|