- Upload Suite Overview
- What's New?
- Choosing Upload Technology
- Evaluating Upload Suite
- Upload Suite Editions
- System Requirements
- Installation and Deployment Notes
- ActiveX/Java Uploader
- Where ActiveX/Java Uploader Can Be Useful
- Before You Started with ActiveX/Java Uploader
- ActiveX/Java Uploader Fundamentals
- ActiveX/Java Uploader User Interface
- Getting Started
- Using ActiveX/Java Uploader
- Troubleshooting
- Reference
- HTML5/Flash Uploader
- Licensing Information
- Legal Notices
Configuring Restriction Rules for Files
This section contains information on the application of various restrictions, such as:
- filtering files by names and types
- setting limitations for image dimensions or disabling CMYK images
- setting limitations for single file size, number of uploaded files and total upload size
to the files that are selecting for the upload to your server. These restriction rules can be specified using the Restrictions class.
All the limitations specified with Restrictions are checked client-side, so you should not interpret them as a reliable protection. A potentially malicious user can bypass all these limitations (by emulating ActiveX/Java Uploader). This is why it is highly recommended to implement server-side verification of uploaded files in addition to Restrictions properties.
In other words, all the limitation features discussed in this topic should be used solely for the convenience of the user. They should not be interpreted as a serious protection measure from malicious users.
In This Section
Filtering Files by Names and Types
Setting Limitations for Images
Setting Limitations for Size and Number of Files