read the archive, this has been answered 3 times already this week

Sara Amato wrote:

> This is a question that seems to come up every few weeks on
> library related lists, though with no great answers (perhaps
> because there isn't one!)    Anyway, is seemed like maybe the
> libwww folks could send some light on the issue.  The question
> usually goes something like:
>
> "Has anyone solved the problem of using a script to automatically
> login to sites that use HTTP basic authentication i.e.. the type
> that
>  pop-up a dialog box asking for username and password ?"
>
> While I can write a script to grab a single page (thanks to the
> great example in lwpcook.pod), the issue remains of how to get the
> credentials back to the browser so that future requests contain
> the Authorization header, though I guess that isn't allowed .
> Getting just a single page and not authenticating for the whole
> site isn't really useful for the task at hand.    Speculation is
> that some sort of proxying or url re-writing to redirect to a
> script with the correct header for each request might work, but I
> can't seem to find a good example of such.
>
> Any thoughts/suggestions on this topic would be much appreciated.

--
Frederic Hurtubise [[EMAIL PROTECTED], ICQ: 390555, AIM: FrenchEgg]
Application Development Leader,
HBE Software Inc. [www.hbesoftware.com]
1030 St-Alexandre, Suite 710
Montreal, Quebec H2Z 1P3
T: (514) 876-7881 F: (514) 876-9223
______________________________________________________________________________________
Get free email, calendars, file sharing, and an Internet workspace at www.opendesk.com

Reply via email to