Thursday, May 6, 2010

Re: http authentication in a URL/GET?

0 comments
In order to be a valid HTTP request, this string should be

GET /cftutorials/album.html HTTP/1.0\x0D\x0AHost:
vollmer.gotdns.org\x0D\x0AAuthorization: Basic
cm9vOnNvbw==\x0D\x0A\x0D\x0A

Some web browsers may accept the line feed by itself, but the protocol
requires CRLF pairs.

On Thu, May 6, 2010 at 10:07 AM, Jarrod Bell <jarrod@guilink.com> wrote:
> Is the user:pass you entered the correct one?
> I tried in a web browser and it fails to give me access.
>
> You might need to base64 encode it, like so:
> http://en.wikipedia.org/wiki/Basic_access_authentication
>
> GET /cftutorials/album.html HTTP/1.0\x0AHost: vollmer.gotdns.org
> \x0AAuthorization: Basic cm9vOnNvbw==\x0A\x0A
>
> Use this online tool to do the base64 generation:
> http://www.motobit.com/util/base64-decoder-encoder.asp
>
> Jarrod
>
> On May 7, 12:35 am, Fiasco <dgvoll...@gmail.com> wrote:
>> This is what I'm trying w/o much success
>>
>> GET /cftutorials/album.html HTTP/1.1\x0AHOST:
>> roo:s...@vollmer.gotdns.org\x0A\x0A
>>
>> On May 5, 12:43 am, Jarrod Bell <jar...@guilink.com> wrote:
>>
>>
>>
>>
>>
>> > I believe so, try adding user:pass@hostname in the actual command
>> > instead of just the hostname
>>
>> > Jarrod
>>
>> > On May 5, 3:36 pm, Fiasco <dgvoll...@gmail.com> wrote:
>>
>> > > Looking at this pagehttp://www.rojotek.com/blog/2008/05/19/http-authentication-in-a-url/
>>
>> > > Is it possible to do http authentication with a URL/GET in CF
>>
>> > > --
>> > > You received this message because you are subscribed to the Google Groups "CommandFusion" group.
>> > > To post to this group, send email to commandfusion@googlegroups.com.
>> > > To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
>> > > For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups "CommandFusion" group.
>> > To post to this group, send email to commandfusion@googlegroups.com.
>> > To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
>> > For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
>>
>> --
>> You received this message because you are subscribed to the Google Groups "CommandFusion" group.
>> To post to this group, send email to commandfusion@googlegroups.com.
>> To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
>> For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> To post to this group, send email to commandfusion@googlegroups.com.
> To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.
>
>

--
Jeremy Weatherford
http://xidus.net

--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Comments

0 comments to "Re: http authentication in a URL/GET?"

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com