Confluence 2.6 has reached end of life
Check out the [latest version] of the documentation
If a user has permission to upload attachments, you can restrict them to certain filetypes only by installing the Attachment Filter. You can also restrict the maximum size of any one attachment that a user can upload.
Overview
Content Tools
Apps
