Gets or set a file mask for the files that are denied to be uploaded.
public function getDeniedFileMask() { } public function setDeniedFileMask($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 "".
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.