## Aurigma Image Uploader 7.0.15

# Uploader.Restrictions Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

Gets or sets upload restrictions.

## Syntax

### PHP

    public function getRestrictions() {
    }

    public function setRestrictions($value) {
    }

### Property Value

Type: Restrictions

The upload restrictions.

## Remarks

Note

All the 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 Image Uploader). That 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.

## See Also

### Reference

- Aurigma.ImageUploader.Uploader.Restrictions ASP.NET Property
- $au.uploader.restrictions JavaScript Property

### Manual

- Configuring Restriction Rules for Files