Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How do you add the authentication info to Privoxy?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How do you add the authentication info to Privoxy?
Authored by: LightYear on Mar 06, '03 12:59:16AM

It certainly is possible, at least for HTTP. I imagine for HTTPS also, I've just never had reason to find out. You are right though, it is not obvious from the Docs how one goes about it.

I wrote up a method for adding proxy authentication to Privoxy quite a while ago, and would be happy to try to dig it up for anyone who is interested. Just send me an email.

As far as I can remember, there was basically two steps. You first had to use the proxy forwarding (might be called tunneling, can't remember) feature to get privoxy to pass everything on to your proxy. That required editing a file, using a fairly descriptive example in the file.

The other thing to add was a +add-header or something, which would add your authentication string to each request. The tricky bit is getting that string. The easiest way I found was to use a packet sniffer like MacSniffer or Sniffles, and grab a packet going out of your browser to the proxy. The header should start with something like "GET http://www.something.com HTTP/1.0", and then a little further on, will be soemthing like:
Authentication: BASIC YFNXpasnfoFEOEPAee=
Thats the line you copy into Privoxy's configuration file as a header to be included.

Hope that helps.

---
My .sig is on .holiday



[ Reply to This | # ]