Re: Accessing protected html files
Re: Accessing protected html files
- Subject: Re: Accessing protected html files
- From: Mark Thomas <email@hidden>
- Date: Thu, 20 Apr 2006 00:13:05 +0100
- Organization: Coderus Ltd
Hi,
Thanks for the pointers, so it looks like I need to add
Authorization = "Authorization" ":" credentials
To the HTTP header ?, so something like below correct ?
Authorization : username password
"Credentials" doesn't seemed explain in the rfc2616
I'm need to do this for access to an ADSL router web page, so hopefully the
authentication system will be basic (oh I hope so), due that it needs to be
embedded and size. Cannot try it here as @ home and these routers are at
work as I use cabled ISP here.
Thanks for your help,
Mark.
> rfc2617 (along with rfc2616) covers HTTP Authentication for the Basic
> and Digest Access authentication schemes. You can read them at
> <http://www.ietf.org/rfc/rfc2616.txt
>> and <http://www.ietf.org/rfc/rfc2617.txt>.
>
> Basic is trivial to implement- Digest Access is not. Also, there are a
> lot of servers which don't use Basic or Digest Access authentication
> (most use NTLM or Negotiate) and those authentication schemes are not
> well documented. CFNetwork's CFHTTPAuthentication code handles Basic,
> Digest, NTLM and Negotiate for you.
>
> - Jim
>
>
> On Apr 19, 2006, at 3:26 PM, Mark Thomas wrote:
>
>> Hi,
>> Because of bugs in the URL Manager on older systems, I needed to
>> hand
>> craft my own HTTP GET and POST code which is fine and works ok. But
>> I was
>> wondering if anybody knew or where to look on what a HTTP server
>> needs when
>> it requests the username/password dialog when you access a page
>> which is
>> protected this way ?
>>
>> Any idea how this might work, hoping I just add these into my
>> request or is
>> that too simplistic :-).
>>
>> Thanks in advance for any pointers
>>
>> Mark.
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Macnetworkprog mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden