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?
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.
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.
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
Thanks Ver
By the way, Is there another way to upload the following files into a Folder in media section?
Thanks and Best Regards
AKL
is working on a reply...