# Restricting Proxy Users

#### Restricting Proxy Users to specific Services

ProxyUsers can be created with a username and password for basic authentication and then restricted to certain services on an account.

For example, if you wanted a ProxyUser to have access to a your Residential Bandwidth service but not your Datacenter Proxies service then you can use the restricted\_services field in the ProxyUser Create API Route to only allow it to access the the service\_id of the Residential Bandwidth service.

#### Restricting Proxy User Traffic

You can also set usage limits across product ranges, i.e residential traffic across all residential bandwidth services.

This will mean the proxy\_user can access up to X amount of bytes through the service and then will be restricted.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://internal.developer.documentation.private.user.pingproxies.com/proxy-user-management/restricting-proxy-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
