# Cors

**URL:** https://forum.infinityfree.com/t/cors/76654
**Category:** Hosting Support
**Created:** [May 26, 2023, 7:16pm UTC](https://forum.infinityfree.com/t/cors/76654 "2023-05-26T19:16:51Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![anon77104130](https://forum.infinityfree.com/letter_avatar/anon77104130/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon77104130](https://forum.infinityfree.com/u/anon77104130)
#### Post date: [May 26, 2023, 7:16pm UTC](https://forum.infinityfree.com/t/cors/76654/1 "2023-05-26T19:16:51Z")

</div>

### Website URL

[(please specify the URL of the site on which you are experiencing the problem)](https://severnlodge.infinityfreeapp.com/)

### Error Message

I am trying to access a webcam JPG that I am uploading via FTP through another domain ([severnlodge.com](http://severnlodge.com)) but I am receiving a CORS error.

### Other Information

I have added this to an .htaccess file in the htdocs folder…

 Header set Access-Control-Allow-Origin "\*" Any help would be greatly appreciated!

---

<div class="post-metadata">

### Author: ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)
#### Post date: [May 26, 2023, 7:42pm UTC](https://forum.infinityfree.com/t/cors/76654/2 "2023-05-26T19:42:37Z")

</div>

Where exactly are you experiencing the problem? The URL you linked to has InfinityFree’s default welcome page.

---

<div class="post-metadata">

### Author: ![anon77104130](https://forum.infinityfree.com/letter_avatar/anon77104130/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon77104130](https://forum.infinityfree.com/u/anon77104130)
#### Post date: [May 26, 2023, 8:36pm UTC](https://forum.infinityfree.com/t/cors/76654/3 "2023-05-26T20:36:53Z")

</div>

So sorry but I think the issue is mine. Can you confirm that this service, by design, will not let me upload webcam images and view them on another website? I am getting a CORS error.

---

<div class="post-metadata">

### Author: ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)
#### Post date: [May 26, 2023, 9:06pm UTC](https://forum.infinityfree.com/t/cors/76654/4 "2023-05-26T21:06:13Z")

</div>

You can upload picture and view them, that’s kind of a basic feature of website hosting

---

<div class="post-metadata">

### Author: ![anon77104130](https://forum.infinityfree.com/letter_avatar/anon77104130/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon77104130](https://forum.infinityfree.com/u/anon77104130)
#### Post date: [May 26, 2023, 9:11pm UTC](https://forum.infinityfree.com/t/cors/76654/5 "2023-05-26T21:11:32Z")

</div>

Right, but I can’t link to them and view them from another domain. I’m trying to view this image:  
[https://severnlodge.infinityfreeapp.com/webcam.jpg](https://severnlodge.infinityfreeapp.com/webcam.jpg)  
on [www.severnlodge.com](http://www.severnlodge.com)

---

<div class="post-metadata">

### Author: ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)
#### Post date: [May 26, 2023, 9:20pm UTC](https://forum.infinityfree.com/t/cors/76654/6 "2023-05-26T21:20:13Z")

</div>

Where exactly is the image meant to show, could you please clarify as I can’t locate it? The URL you shared works fine for me.

If you are trying to load the image from an InfinityFree website to a different site, however, this system is likely the reason why it does not display correctly:

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/ensuring-only-web-browsers-can-access-your-website/49353):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools. To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…

---

<div class="post-metadata">

### Author: ![anon77104130](https://forum.infinityfree.com/letter_avatar/anon77104130/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon77104130](https://forum.infinityfree.com/u/anon77104130)
#### Post date: [May 26, 2023, 9:25pm UTC](https://forum.infinityfree.com/t/cors/76654/7 "2023-05-26T21:25:59Z")

</div>

I appreciate your time and responses. I’m afraid that’s exactly what I’m trying to do. I’m trying to load an image from an InfinityFree website onto a different website. It looks like I’m out of luck?

---

<div class="post-metadata">

### Author: ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)
#### Post date: [May 26, 2023, 9:26pm UTC](https://forum.infinityfree.com/t/cors/76654/8 "2023-05-26T21:26:43Z")

</div>

> [@anon77104130](#):
>
> I’m trying to load an image from an InfinityFree website onto a different website

Because InfinityFree is a webhosting provider, and not a storage provider, we don’t allow you to do that, no.

You can use a service like postimages for image hosting, or just host the other domain with us

---

<div class="post-metadata">

### Author: ![anon77104130](https://forum.infinityfree.com/letter_avatar/anon77104130/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon77104130](https://forum.infinityfree.com/u/anon77104130)
#### Post date: [May 26, 2023, 9:35pm UTC](https://forum.infinityfree.com/t/cors/76654/10 "2023-05-26T21:35:44Z")

</div>

Thank you for the reply and suggestion. I don’t think postimages allows uploads via FTP?

---

<div class="post-metadata">

### Author: ![anon77104130](https://forum.infinityfree.com/letter_avatar/anon77104130/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon77104130](https://forum.infinityfree.com/u/anon77104130)
#### Post date: [May 26, 2023, 9:36pm UTC](https://forum.infinityfree.com/t/cors/76654/11 "2023-05-26T21:36:42Z")

</div>

Thanks for your time. InfinityFree is an excellent service! I guess it just doesn’t work for my application.

---

<div class="post-metadata">

### Author: ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)
#### Post date: [June 2, 2023, 9:37pm UTC](https://forum.infinityfree.com/t/cors/76654/12 "2023-06-02T21:37:17Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
