---
title: "restrictions.deniedFileMask Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_restrictions_deniedFileMask.htm
product: "Upload Suite 8"
---

# restrictions.deniedFileMask Property HTML5/Flash Uploader JavaScript

Supported technologies:
 
Gets or set a file mask for the files that are denied to be uploaded.

## Syntax
 
```
$au.imageUploaderFlash({
    restrictions: {
        //...other params...
        deniedFileMask: "",
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').restrictions().deniedFileMask(value);
value = $au.imageUploaderFlash('uploaderID').restrictions().deniedFileMask();
```
 
### Property Value
 
Type: **String**
 
The file mask for the files that are denied to be uploaded. You can use the standard wildcards such as asterisk `*` (arbitrary substring) and question mark `?` (arbitrary character). To specify several masks, separate them by semicolons, e.g. `*.exe;*.asp;*.htm`. To filter out files without any extension use `*.`. To match all files (no matter if they have an extension or not) use `*`.
 
Default value is **""**.

## Remarks
 
Note, users still can see files which match this mask in the Open File dialog. The restriction applies only when files are being added to the upload list.

## See Also
 
### Reference
 
- [fileMask Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_restrictions_fileMask.htm.md)
- [Aurigma.ImageUploaderFlash.Restrictions.DeniedFileMask ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Restrictions_DeniedFileMask.htm.md)
- [Restrictions.DeniedFileMask PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_Restrictions_DeniedFileMask.htm.md)

### Manual
 
- [Configuring Restriction Rules for Files](https://www.aurigma.com/docs/us8/configuring-restrictions-and-file-filters-iuf.htm.md)
