[REBOL] HTTP Authentication Re:(3)
From: brian:hawley:bigfoot at: 20-Sep-2000 23:03
[larry--ecotope--com] wrote:
> > Hi Brett
> >
> > You can connect this way:
> >
> > print read http://usrname:[password--www--somesite--com]/
[brett--codeconscious--com] wrote:
>Thanks Larry but no go. It returned:
>
>HTTP/1.1 403 Forbidden.
>
>Have you seen the method you suggested work? Wondering if
>it is the server I'm trying to access.
There are two main ways to authenticate an http connection,
Basic and Digest. Basic is clear-text, Digest is encrypted.
REBOL, like most languages without encryption support, does
not support Digest authentication, just Basic. Basic is all
you need for most web sites.
Unfortunately for you, web servers set up to use the Digest
method generally don't accept a Basic request. You may be
out of luck with straight REBOL.
Try an http proxy server. It worked for me once a while ago.
Brian Hawley