# File Manager \>\> protect directory

**URL:** <https://forums.interworx.com/t/file-manager-protect-directory/23402>\
**Category:** General Discussion\
**Created:** [October 6, 2023, 7:02pm UTC](https://forums.interworx.com/t/file-manager-protect-directory/23402 "2023-10-06T19:02:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaosavioli](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/a587f6/32.png) [@joaosavioli](https://forums.interworx.com/u/joaosavioli)\
**Post date:** [October 6, 2023, 7:02pm UTC](https://forums.interworx.com/t/file-manager-protect-directory/23402/1 "2023-10-06T19:02:33Z")

</div>

Hi,

Is there any option to protect directory via sideworx panel using .htaccess?

Thanks  
Joao

---

<div class="post-metadata">

**Author:** ![Aric](https://forums.interworx.com/letter_avatar_proxy/v4/letter/a/57b2e6/32.png) [@Aric](https://forums.interworx.com/u/Aric)\
**Post date:** [October 6, 2023, 9:53pm UTC](https://forums.interworx.com/t/file-manager-protect-directory/23402/2 "2023-10-06T21:53:25Z")

</div>

If your siteworx account has access to the older File Manager (just called File Manager in SiteWorx, not File Manager (New) ) select the directory you want to protect and click the Protect button, you can add protection there, but not in the new file manager or in the htaccess editor in SiteWorx.

Of course, nothing is stopping you from manually creating the .htaccess and .htpasswd files and adding the appropriate entries that way. There are also online tools that can help you create the appropriate entries, and you can paste the content into the appropriate files.
