# yii\filters

> 10 classes, 1 interface of the yii\filters namespace.

[API reference](/docs/api/index.md) › [yii](/docs/api/yii/index.md) › filters

## Namespaces

| Namespace | Types |
| --- | --- |
| [`yii\filters\auth`](/docs/api/yii/filters/auth/index.md) | 7 |

## Classes

| Class | Summary |
| --- | --- |
| [`AccessControl`](/docs/api/yii/filters/accesscontrol/index.md) | AccessControl provides simple access control based on a set of rules. |
| [`AccessRule`](/docs/api/yii/filters/accessrule/index.md) | This class represents an access rule defined by the [`AccessControl`](/docs/api/yii/filters/accesscontrol/index.md) action filter. |
| [`AjaxFilter`](/docs/api/yii/filters/ajaxfilter/index.md) | AjaxFilter allow to limit access only for ajax requests. |
| [`ContentNegotiator`](/docs/api/yii/filters/contentnegotiator/index.md) | ContentNegotiator supports response format negotiation and application language negotiation. |
| [`Cors`](/docs/api/yii/filters/cors/index.md) | Cors filter implements [Cross Origin Resource Sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing). |
| [`HostControl`](/docs/api/yii/filters/hostcontrol/index.md) | HostControl provides simple control over requested host name. |
| [`HttpCache`](/docs/api/yii/filters/httpcache/index.md) | HttpCache implements client-side caching by utilizing the `Last-Modified` and `ETag` HTTP headers. |
| [`PageCache`](/docs/api/yii/filters/pagecache/index.md) | PageCache implements server-side caching of whole pages. |
| [`RateLimiter`](/docs/api/yii/filters/ratelimiter/index.md) | RateLimiter implements a rate limiting algorithm based on the [leaky bucket algorithm](https://en.wikipedia.org/wiki/Leaky_bucket). |
| [`VerbFilter`](/docs/api/yii/filters/verbfilter/index.md) | VerbFilter is an action filter that filters by HTTP request methods. |

## Interfaces

| Interface | Summary |
| --- | --- |
| [`RateLimitInterface`](/docs/api/yii/filters/ratelimitinterface/index.md) | RateLimitInterface is the interface that may be implemented by an identity object to enforce rate limiting. |