Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Connie DeCinko 931 posts 1160 karma points
    Feb 08, 2011 @ 20:02
    Connie DeCinko
    0

    How do I restrict the files that can be uploaded?

    I see no where in the configuration where I can restrict the file type nor the size of the upload file.  I don't want users to be able to upload a 100MB tif for example.

     

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 09, 2011 @ 08:17
    Sebastiaan Janssen
    0

    The maximum upload size can be set in your web.config (in system.web section set <httpRuntime maxRequestLength="1048576" />, the length is in bytes).

    If you want to restrict the file types, you will need to handle that in code, there is a config file that lets you define what to do with each file type. You could cancel the media creation if the file is of a particular type.

  • Seth Niemuth 275 posts 397 karma points
    Jan 24, 2012 @ 19:32
    Seth Niemuth
    0

    What config file is it that lets you define what to do with each file type.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jan 24, 2012 @ 21:33
    Jeroen Breuer
    0

    You can find the file in /config/MultipleFileUpload.config

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft