# Allowing media hosts

**URL:** <https://community.novulo.com/t/allowing-media-hosts/195>\
**Category:** \[Q&A\] Components, Datasets and Plug-ins\
**Created:** [May 24, 2024, 9:42am UTC](https://community.novulo.com/t/allowing-media-hosts/195 "2024-05-24T09:42:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bas](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@Bas](https://community.novulo.com/u/Bas)\
**Post date:** [May 24, 2024, 9:42am UTC](https://community.novulo.com/t/allowing-media-hosts/195/1 "2024-05-24T09:42:54Z")

</div>

![afbeelding](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/1X/2c660bfc573314f366bc0bf03a07295baba94b6e.png)  
Currently we’re building a webshop, and we’re moving to the pilot phase. As a part of this I’ve connected pictures from the customer’s live webshop to his products in Novulo. How do I allow these media to be downloaded internally?

The message I get is “The specified host is not allowed” or “De opgegeven host is niet toegestaan” when in Dutch, by calling a URL using the NovuloFileExtensions plug-in, build 103923.

---

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [May 24, 2024, 3:15pm UTC](https://community.novulo.com/t/allowing-media-hosts/195/2 "2024-05-24T15:15:53Z")

</div>

Hey @Bas

Go to deployment and chose the instance for which you want to allow getting files from a URL. Add a new web.config setting like so  
 ![image](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/1X/64103e48dea63758779071bec6b145dbf9f2ec4b.png)

Fill in the “value” field with the host of the images/files that you want to download.

After that, create a new installation of type “update”. This will ensure that the settings from deployment will take effect in your application.

---

<div class="post-metadata">

**Author:** ![Joost](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/joost/32/87_2.png) [@Joost](https://community.novulo.com/u/Joost)\
**Post date:** [May 28, 2024, 8:17am UTC](https://community.novulo.com/t/allowing-media-hosts/195/5 "2024-05-28T08:17:17Z")

</div>

For the Allowed Hosts: they must be written _without_ http:// or https:// or ftp://  
That probably makes the difference for your case Bas 🙂

If you want to add more than one host, please separate them with the semicolon ;  
Also make sure there are _no spaces_ before or after the semicolon.

So for example  
[www.firstdomain.com](http://www.firstdomain.com);[cdn.seconddomain.com](http://cdn.seconddomain.com)

Also, please make sure every app setting only exists once! If there’s already an app setting with that name, please add the second domain to that setting

---

<div class="post-metadata">

**Author:** ![Bas](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@Bas](https://community.novulo.com/u/Bas)\
**Post date:** [May 31, 2024, 12:03pm UTC](https://community.novulo.com/t/allowing-media-hosts/195/6 "2024-05-31T12:03:50Z")

</div>

Thank you J&J.

On a related note, how do we handle files which URL are too long to import?

 ![afbeelding](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/1X/7180cb9ac667eb2fe2a87555ce5821a3135f6563.png)

---

<div class="post-metadata">

**Author:** ![Bas](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@Bas](https://community.novulo.com/u/Bas)\
**Post date:** [June 3, 2024, 9:31am UTC](https://community.novulo.com/t/allowing-media-hosts/195/7 "2024-06-03T09:31:00Z")

</div>

Hey Joachim, FYI, I found that the imported images get sorted under the type ‘file’ rather than ‘image’. I fixed it manually right now so there’s no urgency, but this could cause some minor issues if you display images and documents seperately like I do for my current project.
