Re: http authentication
- From: "Brian" <a@xxx>
- Date: Thu, 21 Jul 2005 12:24:05 GMT
> Brian wrote:
>> I am using a idHTTP to send some data to some
>> WebPages. The web pages is in a directory that has
>> a htaccess on it. I'm sure this can be done, but I can't
>> find it, how do I send a authentication to the server
>> via the INDY9 idHTTP so that i can post to them
>> even though there is a htacces on the directory?
>
> Have you tried handling the OnAuthorization event?
>
> Also, you can use the special URI format, below, that includes the user
> name and password.
>
> http://username:password@xxxxxxxxxx/path/to/resource
>
> --
> Rob
Thanks Rob the URI format worked, never gave that a thought !
Brian
.
- References:
- http authentication
- From: Brian
- Re: http authentication
- From: Rob Kennedy
- http authentication
- Prev by Date: Re: percentage
- Next by Date: Threads
- Previous by thread: Re: http authentication
- Next by thread: percentage
- Index(es):
Relevant Pages
|