Re: authenticating from w/in Perl



On 2/28/07, Wright, Gerald C. <wright1@xxxxxxxxxxx> wrote:

I have been using LWP::Simple successfully to download data files from a
number of sources. I now have to work with a web site that requires a
username and password (which I have) but I have no idea how to get perl
to interface and provide that information.

Have you seen the lwpcook manpage? It's not so simple as using
LWP::Simple, but it's still pretty straightforward to do basic
authorization. See the section called "Access to protected documents".

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training
.



Relevant Pages

  • Re: Password protection
    ... Create a new folder in your Web site. ... To open the subweb, double-click its icon. ... Microsoft FrontPage MVP ... > o I will set up username and password in advance. ...
    (microsoft.public.frontpage.client)
  • Browser Authentication
    ... level of the default web site I can get them in. ... then the USERNAME, PASSWORD, and DOMAIN dialog box pops ... security and the user types in his/her credentials it ... Integrated Windows Authentication logon screen. ...
    (microsoft.public.inetserver.iis.security)
  • RE: How to tell WebBrowser control what credentials to use?
    ... Does the browser implement the IProfferService ... In cases of WinForms authentication I can use code similar to the following. ... I can do the same in a login form entering the username ... there're two kinds of authentication modes for web site. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Can login domain be set to a default?
    ... When users access a secured web site I manage the normal Windows login ... dialog appears requiring the username and password. ... domain defined for the internet. ...
    (microsoft.public.windows.server.security)
  • RE: How to tell WebBrowser control what credentials to use?
    ... there're two kinds of authentication modes for web site. ... One is form authentication which requires the user to input his username ... which uses the current windows user's username and password to log on the ... Could you tell me what kind of the authentication mode of the web site ...
    (microsoft.public.dotnet.framework.windowsforms)