# "Need Help with .htaccess Permissions and CORS Policy Error"

**URL:** <https://forum.infinityfree.com/t/need-help-with-htaccess-permissions-and-cors-policy-error/96824>\
**Category:** Hosting Support\
**Created:** [August 1, 2024, 1:56pm UTC](https://forum.infinityfree.com/t/need-help-with-htaccess-permissions-and-cors-policy-error/96824 "2024-08-01T13:56:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [August 2, 2024, 8:54am UTC](https://forum.infinityfree.com/t/need-help-with-htaccess-permissions-and-cors-policy-error/96824/3 "2024-08-02T08:54:12Z")

</div>

> [@AmnaWPHelp](#):
>
> **.htaccess File** : I’m unable to change permissions for my .htaccess file, and I’m getting a “550 Could not change perms on .htaccess: Operation not permitted” error.

Why do you think you need to change the permissions on your .htaccess file to begin with?

Are you trying to edit the .htaccess file in the root folder of your account? If so, if you see the contents, you will see it says DO NOT EDIT THIS FILE at the top, with instructions on what you should do instead. If so, then don’t try to edit the file, and follow the instructions shown to edit your .htaccess instead.

> [@AmnaWPHelp](#):
>
> I need to add specific headers to resolve a CORS policy error. Can someone assist with this?

Please note that embedding resources on a website hosted with us on any other website is not possible due to this security system:

> [@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…

That said, please note a few things:

- Most “CORS errors” we see are not actually a problem with CORS, but another issue which just happens to generate an error related to CORS, but doesn’t actually need CORS to be fixed, and needs something else entirely. Examples include 404 errors, 403 errors and website URL configuration errors.
- CORS headers only affect other websites/domains trying to access resources on your website. It doesn’t affect your ability to embed resources from other websites. If you’re trying to embed resources from other sites and it’s not working, then please check with the operators of the other website if their CORS headers can be adjusted.

> [@AmnaWPHelp](#):
>
> **Header, Footer, and Logo** : My site’s header, footer, and logo are not displaying correctly in the WordPress Customizer. I can’t see them properly, and the preview is blurry or missing elements.

I’m sorry, but I’m not enough of a WordPress expert to be able to tell you why certain parts of a page might be “blurry”.

---

_[View the full topic](https://forum.infinityfree.com/t/need-help-with-htaccess-permissions-and-cors-policy-error/96824)._
