Authentication
User:pass credentials and IP whitelist — how each works, when to use which, and how to manage them.
On this page
Alienproxies.com supports two authentication methods: user:pass (credential-based) and IP whitelist (source-IP-based). You can enable both or just one per sub-user.
User:pass authentication
Pass your credentials in the proxy URL:
http://USERNAME:[email protected]:7777
Your password is shown once at order creation. You can regenerate it anytime from the Proxies page — the old password is immediately invalidated.
When to use it:
- Dynamic clients (cloud functions, CI, workers that spin up with unknown IPs)
- Multiple machines sharing the same sub-user
- Quick testing from your local machine
Security note: Avoid putting credentials in source code. Use environment variables:
export PROXY_USER="user-country-us"
export PROXY_PASS="your-password"
curl -x "http://$PROXY_USER:[email protected]:7777" https://httpbin.org/ip
IP whitelist authentication
Whitelist up to 50 IPv4 addresses per sub-user. No password needed in the URL — the gateway authenticates by source IP.
# No credentials needed once your IP is whitelisted
curl -x "http://gate.alienproxies.com:7777" https://httpbin.org/ip
Manage your whitelist from the Proxies → Whitelist tab in the dashboard. Changes take effect immediately.
IP validation rules:
- IPv4 only (no IPv6, no CIDR ranges)
- Max 50 IPs per sub-user
- Dynamic/residential IPs that rotate frequently are unsuitable — your gateway IP must be stable
When to use it:
- Scraping workers on fixed cloud servers (EC2, GCE, DigitalOcean with static IPs)
- Situations where storing passwords in process arguments is undesirable
- High-throughput setups where credential parsing overhead matters
Switching between methods
Both methods can be active simultaneously. If a request comes from a whitelisted IP and includes valid credentials, it's accepted. If neither matches, it's rejected with a 407.
To disable user:pass temporarily, regenerate the password and discard the new value. To disable IP whitelist, remove all IPs from the list.
Regenerating your password
- Go to Dashboard → Proxies
- Select the order
- Click Regenerate password
- Update your scraper's config with the new password
The old password stops working immediately.