# Error 403 Forbidden

**URL:** <https://forum.infinityfree.com/t/error-403-forbidden/97779>\
**Category:** Hosting Support\
**Created:** [August 21, 2024, 7:00pm UTC](https://forum.infinityfree.com/t/error-403-forbidden/97779 "2024-08-21T19:00:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon71079925](https://forum.infinityfree.com/letter_avatar/anon71079925/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon71079925](https://forum.infinityfree.com/u/anon71079925)\
**Post date:** [August 21, 2024, 7:00pm UTC](https://forum.infinityfree.com/t/error-403-forbidden/97779/1 "2024-08-21T19:00:53Z")

</div>

I am encountering an issue with accessing a PHP script hosted on your server from my application developed in App Inventor. When attempting to retrieve data from the following URL: [http://agua.free.nf/mostrarDato.php](http://agua.free.nf/mostrarDato.php), I receive a 403 Forbidden error.

The PHP script at this URL is designed to return specific data based on the content of a database. However, when accessed through App Inventor, it returns a 403 Forbidden error. The script works correctly when accessed directly via a web browser.

Could you please assist me in identifying and resolving the issue causing the 403 Forbidden error when the PHP script is accessed from App Inventor? If there are specific settings or restrictions on your server that might be causing this issue, please let me know how I can adjust them or if there are additional steps I need to take.

Thank you for your assistance. I look forward to your response.

---

<div class="post-metadata">

**Author:** ![anon90933456](https://forum.infinityfree.com/letter_avatar/anon90933456/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon90933456](https://forum.infinityfree.com/u/anon90933456)\
**Post date:** [August 21, 2024, 7:07pm UTC](https://forum.infinityfree.com/t/error-403-forbidden/97779/2 "2024-08-21T19:07:23Z")

</div>

Hi and welcome to the forum! Please don’t use AI to write your posts, as it tends to overcomplicate the context we need even more and not understand anything. Any future post written with AI will result in it being flagged and deleted.

Anyway, as for your problem, I think this is causing it:

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/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…

Not even using a custom domain and Cloudflare will bypass this on the application you’re going to use to test it, as cURL (the library used by AppInventor as well) is blocked either way.

---

<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:** [August 28, 2024, 7:07pm UTC](https://forum.infinityfree.com/t/error-403-forbidden/97779/3 "2024-08-28T19:07:29Z")

</div>

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