Re: Http Help please

From: Jeff Johnson [MVP: VB] (i.get_at_enough.spam)
Date: 10/14/04


Date: Thu, 14 Oct 2004 13:45:46 -0400


"Dib" <dNOSPAMshahene@conNOSPAMsoftware.com> wrote in message
news:%23s0cYlgsEHA.2560@TK2MSFTNGP14.phx.gbl...

> I am trying to do a simple program but yet I am lost. I am using http to
> download a file from the web. there is a ASP/ASP.NET username and
> password
> requried

If you mean that there is a page with a couple of text boxes in which you
enter a user name and password (as opposed to an authentication dialog that
pops up) then you'll probably have to do a POST to the page that
authenticates this information and pass these two fields, then get back the
session ID or cookie or whatever the Web site uses to say "you're logged in"
and pass that along with the following request for the file. I don't think
there's a simple, generic answer; you'll have to talk to the people who
manage the site or dig around and figure out for yourself what needs to be
done.



Relevant Pages

  • 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)
  • Re: [PHP] How do I protect downloadable files?
    ... username and password for this inside a database. ... HTTP authentication. ... If so, start the download. ...
    (php.general)
  • Re: How to get user id guid
    ... I found the information I needed to use the secur32 dll but when I try to ... convert the username to a unique id, ... My web site is using Integrated Windows authentication with Digest ...
    (microsoft.public.dotnet.security)
  • WinInet
    ... I want to gain access to a web site, by means of Username and Password, and then download a file that exists in a predefined directory. ...
    (microsoft.public.vc.mfc)
  • Re: IIS logon
    ... have the same string as their domain account and does it have the same ... Does the user log on to their computer using the same domain and username ... In IE on the user's computer, what security zone is the web site in? ... Which authentication options are enabled in IIS for your website? ...
    (microsoft.public.inetserver.iis.security)