---
title: "uploader.restrictions Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_uploader_restrictions.htm
product: "Upload Suite 8"
---

# uploader.restrictions Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets upload restrictions.

## Syntax
 
```
$au.uploader({
    //...other params...
    restrictions: {},
    //...other params...
})
```

```
$au.uploader('uploaderID').restrictions(value);
value = $au.uploader('uploaderID').restrictions();
```
 
### Property Value
 
Type: [$au.restrictions](https://www.aurigma.com/docs/us8/JA_T_J_$au_restrictions.htm.md)
 
The upload restrictions.

## Remarks
 
**Note** 
All limitations specified here 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). That is why it is highly recommended to implement server-side verification of uploaded files in addition to [restrictions](https://www.aurigma.com/docs/us8/JA_T_J_$au_restrictions.htm.md) properties.
 
In other words, all 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.

## See Also
 
### Reference
 
- [Aurigma.ImageUploader.Uploader.Restrictions ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Uploader_Restrictions.htm.md)
- [Uploader.Restrictions PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Uploader_Restrictions.htm.md)

### Manual
 
- [Configuring Restriction Rules for Files](https://www.aurigma.com/docs/us8/configuring-restriction-rules-for-files-iu.htm.md)
