Webshare Guides

Webshare Authentication: IP Authorization or Username and Password?

Webshare proxies can be authenticated with credentials or by authorizing your own IP address. Learn how each works, when to use which, how to set them up and how to fix common authentication errors.

By Team of Monkeys Editorial Updated 5 min read Affiliate disclosure

This guide contains affiliate links to Geonode and Webshare. If you buy through them we may earn a commission, at no extra cost to you.

Webshare IP Authorization illustration showing Your IP connecting through Auth check to Proxy, covering ip allowlist, user and pass 3jdej38j4

Two ways to prove you're allowed

Every Webshare proxy needs authentication so that only you can use it. You can choose between:

  • Username and password. Credentials are sent with each connection. Works from anywhere.
  • IP authorization. You register your own public IP address; connections from that address are accepted without credentials.

The general background is in proxy authentication methods.

Username and password

This is the default. Your proxy details look like host:port:username:password, and most tools accept them as a proxy URL:

text
http://USERNAME:PASSWORD@HOST:PORT
socks5://USERNAME:PASSWORD@HOST:PORT

Use it when:

  • You work from laptops, home connections or anywhere your IP changes.
  • Your tool supports authenticated proxies (most do).
  • You use the backbone gateway, where the username also carries rotate, session and targeting options.

IP authorization

With IP authorization, you add your machine's public IP to an allowlist in the dashboard or through the API. Any connection from that IP is accepted.

Use it when:

  • Your tool can't send proxy credentials. Some browsers, extensions, older libraries and devices can't handle authenticated proxies cleanly.
  • You run on servers with fixed IPs and want simpler configuration.
  • You want to avoid putting passwords in config files.

Watch out for:

  • Changing IPs. Home connections and many cloud instances change IP. When they do, the proxy stops working until you update the allowlist.
  • Shared networks. Anyone else using the same public IP (an office, a VPN exit, a cloud NAT) can use your proxies too.

Which should you choose?

SituationMethod
Laptop or home useUsername and password
Fixed-IP serverEither; IP authorization keeps configs simple
Tool can't do proxy authIP authorization
Backbone with rotate, session or targeting optionsUsername and password
Shared office networkUsername and password
Auto-scaling cloud workersUsername and password, or authorize IPs via the API at startup

Setting up IP authorization

  1. Find your public IP (for example, by visiting an IP-check site from that machine).
  2. Add it in the IP authorization section of the Webshare dashboard.
  3. Configure your tool with the proxy host and port, without credentials.
  4. Test with cURL:
bash
curl -x http://PROXY_HOST:PORT https://httpbin.org/ip

Budget tip: Before scaling, run a short pilot with Webshare on your real targets and record success rate, latency and bandwidth per result. Our our complete Webshare guide explains which Webshare product fits which job.

Fixing authentication errors

407 Proxy Authentication Required is the classic error. Common causes:

  • Wrong username or password, often with a stray space copied from the dashboard.
  • Special characters in the password that need URL encoding in a proxy URL.
  • Using direct-mode credentials on the backbone gateway, or the reverse.
  • IP authorization configured, but your public IP has changed.
  • Tools like Puppeteer that need credentials passed separately rather than in the URL. See Puppeteer proxy authentication.

More in fixing common Webshare errors and common proxy errors.

Security tips

  • Don't share credentials between projects. Separate plans or sub-accounts make leaks easier to contain.
  • Remove old IPs from the allowlist when servers are retired.
  • Regenerate credentials if they appear in a log, screenshot or repository.

IP authorization on cloud servers

Cloud instances can change public IP when they restart, and auto-scaling groups add and remove servers constantly. Options:

  • Static outbound IPs. Use elastic or reserved IPs, or route outbound traffic through a NAT gateway with a fixed IP, then authorize that.
  • Authorize at startup. Have each server call the Webshare API to add its IP when it boots and remove it on shutdown.
  • Use credentials instead. For fleets that change often, username and password is simpler.

Mixing methods by environment

EnvironmentRecommended method
Developer laptopsUsername and password
CI pipelinesUsername and password from CI secrets
Fixed production serversIP authorization
Browser tools without auth supportIP authorization
Auto-scaling workersCredentials, or API-managed authorization

Auditing your allowlist

Every few months, review authorized IPs:

  1. List them through the dashboard or API.
  2. Match each to a known server or office.
  3. Remove anything unknown or retired.

An allowlist that only grows becomes a security risk, because any machine that later inherits one of those IPs could use your proxies.

Proxy tip: For a second opinion on hard targets, run the same test through Geonode residential proxies, which support sticky sessions up to 24 hours and ASN targeting. We compare the two in Webshare vs Geonode.

When IP authorization causes confusion

If a proxy works on one machine and fails on another with 407 errors, compare their public IPs. VPNs, corporate proxies and mobile hotspots all change the IP Webshare sees. Turn off the VPN or authorize the VPN's exit IP, if appropriate.

A real-world example

A QA team runs Selenium tests on two fixed-IP build servers. Chrome can't send proxy credentials from the command line, so they authorize both servers' public IPs in the Webshare dashboard and point Chrome at the proxy host and port with no credentials. Developers running tests on laptops use username and password through a local forwarding proxy instead. When a build server is replaced, a startup script calls the API to authorize the new IP and remove the old one.

Webshare and Geonode are two options among many. Our best proxies in 2026 guide explains how to match a proxy type to each task, and cheap proxies that work shows where budget providers fit.

Key takeaways

  • Webshare supports username and password authentication and IP authorization.
  • Credentials work from anywhere and carry backbone options; IP authorization suits fixed servers and tools that can't send credentials.
  • Changing IPs, VPNs and shared networks are the main pitfalls of IP authorization.
  • Most 407 errors come from typos, unencoded characters, mode mismatches or a changed IP.
  • Review your allowlist regularly and remove IPs you no longer use.

FAQ

Can I use both methods at once?

Yes. Credentials work from anywhere, and authorized IPs work without them.

Does IP authorization work with SOCKS5?

Yes, it works with both HTTP and SOCKS5.

Why do my proxies work at the office but not at home?

You probably authorized the office IP. At home, use username and password, or add your home IP too.

How many IPs can I authorize?

Limits depend on your plan; check the dashboard. Keep the list short and reviewed either way.

Is IP authorization less secure than passwords?

It's secure if your IP is fixed and not shared. On shared networks, credentials are safer.

Can I use IP authorization with rotating residential?

Yes, but options like sessions and targeting usually live in the username, so check how to set them without credentials.

Affiliate disclosure: Team of Monkeys is an affiliate of Geonode and Webshare. Links and banners marked as sponsored, and links to Geonode and Webshare in the text, use our referral links, and we may earn a commission if you buy through them, at no extra cost to you. Our explanations and comparisons are written to be useful whichever provider you choose.

Editorial note: Proxy providers change their pools, features and prices often, so treat any figures here as typical ranges at the time of writing and confirm current terms with the provider before you buy.