---
title: "restrictions.deniedFileMask Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_deniedFileMask.htm
product: "Upload Suite 8"
---

# restrictions.deniedFileMask 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 set a file mask for the files that are denied to be uploaded.

## Syntax
 
```
$au.uploader({
    restrictions: {
        //...other params...
        deniedFileMask: "",
        //...other params...
    }
})
```

```
$au.uploader('uploaderID').restrictions().deniedFileMask(value);
value = $au.uploader('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`.
 
Default value is **""**.

## See Also
 
### Reference
 
- [fileNameNotAllowed Property](https://www.aurigma.com/docs/us8/JA_P_J_$au_messages_fileNameNotAllowed.htm.md)
- [Aurigma.ImageUploader.Restrictions.DeniedFileMask ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_DeniedFileMask.htm.md)
- [Restrictions.DeniedFileMask PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Restrictions_DeniedFileMask.htm.md)

### Manual
 
- [Filtering Files by Names and Types](https://www.aurigma.com/docs/us8/filtering-files-by-name-and-type.htm.md)
