---
title: "Restrictions..::.DeniedFileMask Property ActiveX/Java Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_DeniedFileMask.htm
product: "Upload Suite 8"
---

# Restrictions.DeniedFileMask Property ActiveX/Java Uploader ASP.NET

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.
 
**Namespace:** [Aurigma.ImageUploader](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
 **Assembly:** Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
 
## Syntax
  
```csharp
public string DeniedFileMask { get; set; }
```
 
### Property Value
 
Type: [System..String](http://msdn2.microsoft.com/en-us/library/s1wwdcbf)
 
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

- [Restrictions Class](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_Restrictions.htm.md)
- [Aurigma.ImageUploader Namespace](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
- [Messages..FileNameNotAllowed](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Messages_FileNameNotAllowed.htm.md)
- [$au.restrictions.deniedFileMask JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_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)
