Jump to content

.htaccess Auth Headers?


AbydosGater

Recommended Posts

Hey Guys, This is probs the wrong place to ask this but it seams to suit the question best.

I have tried using a sniffer but i cant find them,

Does anyone know the headers that are sent to a server for a HTTP Auth (.htaccess login)? As in if i fill in the popup with username and pass and click login.. What headers does the browser send to the server?

 

 

Thanks

Link to comment
Share on other sites

Ok, Im replying to this as i dont have a modify button anymore..

I have found a section on the HTTP that says:

      user-pass  = userid ":" password

      userid      = *<TEXT excluding ":">

      password    = *TEXT

 

  Userids might be case sensitive.

 

  If the user agent wishes to send the userid "Aladdin" and password

  "open sesame", it would use the following header field:

 

      Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

 

I found that http://www.ietf.org/rfc/rfc2617.txt <-- Here under [Page 5]..

So if i read that correct.. to login you have to send the header:

 

Authorization: Basic **Encrypted Details Here**

 

And the encrypted details should be user:password..

If i am correct.. what method is used to encrypted the details?

 

Andy

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.