# Browser Security System - Features and Limitations

**URL:** <https://forum.infinityfree.com/t/browser-security-system-features-and-limitations/49353>\
**Category:** Websites and PHP\
**Created:** [August 2, 2021, 7:13pm UTC](https://forum.infinityfree.com/t/browser-security-system-features-and-limitations/49353 "2021-08-02T19:13:08Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [February 24, 2025, 4:55pm UTC](https://forum.infinityfree.com/t/browser-security-system-features-and-limitations/49353/23 "2025-02-24T16:55:54Z")

</div>

> [@MartinB](#):
>
> ignoring the .htaccess Question

what was the question? you’ve mentioned that there was a post about it, but not asked a question?

I remember reading somewhere if the system detects that your .htaccess file is trying to cercumvent the security system, it will be automatically deleted

> [@My .htaccess file keeps being removed!](https://forum.infinityfree.com/t/my-htaccess-file-keeps-being-removed/106331/2):
>
> If you try to hide the i parameter by redirecting through .htaccess, it will trigger the file deletion system for some reason. This happened to me before. I’m not sure if iFastNet did this intentionally or not.

If you start your own thread with any questions you have, we can more easily help you 🙂

---

<div class="post-metadata">

**Author:** ![MartinB](https://forum.infinityfree.com/letter_avatar/martinb/32/5_5575768a8748004e209b776fc1b2916d.png) [@MartinB](https://forum.infinityfree.com/u/MartinB)\
**Post date:** [February 24, 2025, 5:13pm UTC](https://forum.infinityfree.com/t/browser-security-system-features-and-limitations/49353/24 "2025-02-24T17:13:52Z")

</div>

The post was that the .htaccess gets deleted as soon as it is uploaded. No goofy or unusual stuff in it. Just a simple http to https redirect. That’s standard and not violating anything. It used to work in the past. Not hiding anything, no ill intent.

DirectoryIndex default.php  
  
Header set X-Robots-Tag “index, follow”  
Header set X-Frame-Options "allow-from _"_  
   
_RewriteEngine On  
ErrorDocument 404 [https://www.martinbrieger.com/default.php](https://www.martinbrieger.com/default.php)  
RewriteCond %{HTTP\_HOST} ^mbsoft.nu$ [OR]  
RewriteCond %{HTTP\_HOST} ^www.mbsoft.nu$  
RewriteCond %{QUERY\_STRING} ^(._)i=[^&]+(._)$ [NC]  
RewriteRule ^(._)$ /$1?%1%2 [R=301,L]

---

<div class="post-metadata">

**Author:** ![Jri-Creator](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/jri-creator/32/65654_2.png) [@Jri-Creator](https://forum.infinityfree.com/u/Jri-Creator)\
**Post date:** [February 24, 2025, 5:25pm UTC](https://forum.infinityfree.com/t/browser-security-system-features-and-limitations/49353/25 "2025-02-24T17:25:19Z")

</div>

> [@MartinB](#):
>
> _RewriteCond %{QUERY\_STRING} ^(._)i=[^&]+(._)$ [NC]_

It looks like this uses a Rewrite condition that touches `i`. I tried this,

> [@My .htaccess file keeps being removed!](https://forum.infinityfree.com/t/my-htaccess-file-keeps-being-removed/106331):
>
> Website URL [For security reasons, the link will not be disclosed.] Error Message .htaccess file keeps being removed. Other Information I am installing an .htaccess file that is responsible for both HTTPS redirect, and to remove ?i=1 from the link. The file is 500B, which is 0.5KB, loads (way) under the posted limit here: [Why are my files deleted after uploading them](https://forum.infinityfree.com/t/why-are-my-files-deleted-after-uploading-them/49310/1) The .htaccess code is this: play_button Cool Code Problem is, after I save the file and upload it to the server, it is removed without …

But the file is removed.

Do note that InfinityFree is powered by [iFastNet](https://www.infinityfree.com/go/ifastnet), which has the rights to remove files that they deem are harmful or too large. Seemingly, when touching the `i` variable, this is a harmful thing.

If you wish to continue this debate, discuss further options, or talk about other things, please open a Topic in [Hosting Support.](https://forum.infinityfree.com/c/support/5)

Also, as a last note, Welcome Back to the InfinityFree Forum!

[Previous page](https://forum.infinityfree.com/t/browser-security-system-features-and-limitations/49353.md?page=1)
