Articles in this section
Category / Section

How can we restrict some types of files from being uploaded in .NET WebForms UploadBox?

1 min read

 

Yes. Set ExtensionsDeny property with list of file extensions that should be restricted, to filter out these files during the upload process. To specify more that one file type, semicolon should be used as delimiter. (For eg: ExtensionsDeny=avi;jpg;tiff ).

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied