Proxy Authentication

IP Authentication

The easiest and most secure authentication method is IP Authentication. To use it:

  1. Add your IP from your account dashboard

That's it! Now any requests you make to a proxy server from the IPs that you've added will successfully authenticate.

Domain Authentication

If you have a dynamic IP, then you may want to use domain authentication with a dynamic DNS service such as No-IP. Once you have dynamic DNS setup, you can add your domain on the same page you add IP addresses. Domains are resolved every 10 minutes.

Username:Password Authentication

The typical HTTP proxy authentication method is with the Proxy-Authorization header using the Basic access authentication method. Most HTTP client libraries support this authentication method. But if you need to create the header yourself, the steps are

  1. Base64 encode your username:password
  2. Send a header that looks like Proxy-Authorization: Basic base64-encoded-username:password

HTTPS Authentication

Python requests supports username:password authentication with HTTPS urls, but most other libraries do not. The reason is that the Proxy-Authorization header must be sent with the initial CONNECT method, instead of with the rest of the request headers. Otherwise there is no way for the proxy server to read the header. For HTTPS requests, IP authentication is the most reliable method.

Still need help? Contact Us Contact Us