# Accès au site par autentification

**URL:** <https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049>\
**Category:** Hosting Support\
**Created:** [October 4, 2026, 6:04pm UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049 "2026-10-04T18:04:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 4, 2026, 6:04pm UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/1 "2026-10-04T18:04:57Z")

</div>

### Website URL

[https://tradensemble019.rf.gd](https://tradensemble019.rf.gd)

### Error Message

Est-il possible de limiter l’accès au site à un certain public, en imposant un identifiant et un mot de passe ? J’ai essayé avec un .htaccess et un .htpasswd, mais ça ne fonctionne pas. Est-ce une limitation normale ou peut-on passer par des fichiers .php ?

### Other Information

Si c’est possible , je souhaiterais connaître la marche à suivre.

Translation  
Is it possible to limit access to the site to a certain audience, by imposing a username and password? I tried with a.htaccess and a.htpasswd, but it doesn’t work. Is this a normal limitation or can we go through .php files?

Other Information

If possible, I would like to know what to do.

---

<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:** [October 4, 2026, 6:04pm UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/2 "2026-10-04T18:04:58Z")

</div>

Welcome to the InfinityFree community forum! Good to have you here.

- Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
- Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
- AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
- Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

---

<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:** [October 4, 2026, 6:58pm UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/4 "2026-10-04T18:58:01Z")

</div>

Welcome to the forum.

Please get advised this is an english-speaking forum so please translate future messages using a tool like Google translate or an AI to translate your message is acceptable.

To password protect your site you can use the protected directories at all within the dashboard. This sets up the .htaccess and .htpassword files for you

In the menu it’s under advanced settings

 ![Screenshot_20261004-195735_Brave](https://forum-cdn.infinityfree.net/original/3X/3/6/368fbcb9ffd9e42b5fff4eb75aeb8ca157031932.png)

---

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 5, 2026, 7:52am UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/5 "2026-10-05T07:52:07Z")

</div>

Hello, and thank you for your prompt reply. Please forgive my initial clumsy phrasing; I will avoid it in the future. Your assistance is proving invaluable, so I will likely need to call upon it again. Best regards,

---

<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:** [October 5, 2026, 8:24am UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/6 "2026-10-05T08:24:18Z")

</div>

> [@Mickey19](#):
>
> Please forgive my initial clumsy phrasing

No need to apologise 🙂 Hope that all worked for you.

---

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 5, 2026, 8:42am UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/7 "2026-10-05T08:42:32Z")

</div>

248

The “Advanced → Protected Directories” option doesn’t seem to exist in the free version—which makes sense, in a way. Could you confirm this or let me know where I can find it? Alternatively, is this option included in the Premium version?

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [October 5, 2026, 9:08am UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/8 "2026-10-05T09:08:39Z")

</div>

It’s right there, you just need to click “Manage” on a domain first.

 ![IMG_5120](https://forum-cdn.infinityfree.net/original/3X/4/4/44796306299bdee3d90ba271174542b8cf4bd820.jpeg)

It’s not about “free” and “paid”.

---

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 5, 2026, 9:27am UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/9 "2026-10-05T09:27:04Z")

</div>

117

Eureka! I hadn’t looked in the right place. Of course, I had to go through Manage… Thanks for your patience.

---

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 5, 2026, 12:24pm UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/10 "2026-10-05T12:24:17Z")

</div>

I protected the htdocs directory.

Login required.

Default index.

Username and password entered.

I don’t see what has changed, as I can access the site without using a username and password… I’m missing some information, and I probably didn’t go about it the right way.

---

<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:** [October 5, 2026, 12:37pm UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/11 "2026-10-05T12:37:38Z")

</div>

> [@Mickey19](#):
>
> I protected the htdocs directory.

I tested it, and it works perfectly when I visit [https://tradensemble019.rf.gd/htdocs](https://tradensemble019.rf.gd/htdocs)

If you want to protect the entire website, leave the folder field empty. Like it says in the help text:

> The path of the directory to protect, relative to the htdocs folder of the site.

---

<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:** [October 12, 2026, 12:38pm UTC](https://forum.infinityfree.com/t/acces-au-site-par-autentification/121049/12 "2026-10-12T12:38:40Z")

</div>

Closed on October 12, 2026, 12:38pm UTC

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