3 Replies Latest reply on Feb 11, 2013 2:03 PM by WolfShade

    CF9 - best way to restrict file type for uploads??

    WolfShade Level 4

      Hello, everyone.

       

      We're using CF9 in both dev and production environments, with little chance of upgrading to CF10 anytime in the near future (it's my understanding CF10 does have a way of detecting a file mimetype that CF9 doesn't have.)

       

      What is the best way to restrict uploads to specific file types in CF9?  We just need to limit uploads to primary Office (doc(x), ppt(x), xls(x), etc.), PDFs, and gif/jpg (no bmps, pngs, etc.)

       

      Obviously, just detecting file extension is fruitless.

       

      Thank you,

       

      ^_^