Copied to clipboard

Flag this post as spam?

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


  • Aung Ko Lin 9 posts 78 karma points
    Dec 22, 2015 @ 05:01
    Aung Ko Lin
    0

    adding html,css,scripts into media section

    Hi all,

    I'm using umbraco for my project. I want to add .html files, css files under folder, scripts files under folder. Is there any way to add them to created folder in media section. I have already used media picker, content picker and folder borwser. But they can't select .html file. What should i do?

    thanks all.

  • Veronica Burd 76 posts 201 karma points
    Dec 22, 2015 @ 09:59
    Veronica Burd
    0

    There is a setting called <disallowedUploadFiles> in the umbracoSettings.config that controls what file types should NOT be uploaded.

    By default it contains the following extensions:

    ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd,swf,xml,html,htm,svg,php,htaccess

    As you can see html files are included in the list and therefore blocked. It could be a security risk to allow your editors to upload html files and, more importantly, script files to the site.

    HTH

    Ver

  • Aung Ko Lin 9 posts 78 karma points
    Dec 22, 2015 @ 10:13
    Aung Ko Lin
    0

    Thanks Ver

  • Aung Ko Lin 9 posts 78 karma points
    Dec 23, 2015 @ 02:49
    Aung Ko Lin
    0

    By the way, Is there another way to upload the following files into a Folder in media section?

    Design Template Live Show

    Thanks and Best Regards

    AKL

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies