---
title: "Configuring Restriction Rules for Files"
canonical: https://www.aurigma.com/docs/us8/configuring-restriction-rules-for-files-iu.htm
product: "Upload Suite 8"
---

# Configuring Restriction Rules for Files
 
This section contains information on the application of various restrictions, such as:

- [filtering files](https://www.aurigma.com/docs/us8/filtering-files-by-name-and-type.htm.md) by names and types
- setting limitations for [image dimensions](https://www.aurigma.com/docs/us8/setting-limitations-for-images.htm.md) or [disabling CMYK images](https://www.aurigma.com/docs/us8/setting-limitations-for-images.htm.md)
- setting limitations for [single file size](https://www.aurigma.com/docs/us8/setting-limitations-for-size-and-number-of-files.htm.md), [number of uploaded files](https://www.aurigma.com/docs/us8/setting-limitations-for-size-and-number-of-files.htm.md) and total [upload size](https://www.aurigma.com/docs/us8/setting-limitations-for-size-and-number-of-files.htm.md)

to the files that are selecting for the upload to your server. These restriction rules can be specified using the Restrictions[Restrictions (ASP.NET)](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_Restrictions.htm.md)[Restrictions (PHP)](https://www.aurigma.com/docs/us8/JA_T_P_Restrictions.htm.md)[restrictions (JavaScript)](https://www.aurigma.com/docs/us8/JA_T_J_$au_restrictions.htm.md) class.

**Note** 
All the limitations specified with **Restrictions** are checked client-side, so you should not interpret them as a reliable protection. A potentially malicious user can bypass all these limitations (by emulating ActiveX/Java Uploader). This is why it is highly recommended to implement server-side verification of uploaded files in addition to **Restrictions** properties.
 
In other words, all the limitation features discussed in this topic should be used solely for the convenience of the user. They should not be interpreted as a serious protection measure from malicious users.
 
## In This Section

[Filtering Files by Names and Types](https://www.aurigma.com/docs/us8/filtering-files-by-name-and-type.htm.md)
[Setting Limitations for Images](https://www.aurigma.com/docs/us8/setting-limitations-for-images.htm.md)
[Setting Limitations for Size and Number of Files](https://www.aurigma.com/docs/us8/setting-limitations-for-size-and-number-of-files.htm.md)
