---
title: "Restrictions..::.DeniedFileMask Property HTML5/Flash Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Restrictions_DeniedFileMask.htm
product: "Upload Suite 8"
---

# Restrictions.DeniedFileMask Property HTML5/Flash Uploader ASP.NET

Supported technologies: ![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Gets or set a file mask for the files that are denied to be uploaded.
 
**Namespace:** [Aurigma.ImageUploaderFlash](https://www.aurigma.com/docs/us8/FH_N_Aurigma_ImageUploaderFlash.htm.md)
 **Assembly:** Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.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`. 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

- [Restrictions Class](https://www.aurigma.com/docs/us8/FH_T_Aurigma_ImageUploaderFlash_Restrictions.htm.md)
- [Aurigma.ImageUploaderFlash Namespace](https://www.aurigma.com/docs/us8/FH_N_Aurigma_ImageUploaderFlash.htm.md)
- [Restrictions..FileMask](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Restrictions_FileMask.htm.md)
- [$au.restrictions.deniedFileMask JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_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)
