> For the complete documentation index, see [llms.txt](https://tools.continis.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tools.continis.io/hats/workspaces/workspace-rules/lock-folders.md).

# Lock Folders

Use this rule to prevent access to certain folders in the project.

<figure><img src="/files/oXd6qJzl33EYYTuf7lf9" alt="" width="563"><figcaption></figcaption></figure>

### On workspace enabled

The specified folders get disabled and greyed out in the Project view. You won't be able to select, move, rename them; or to drag/drop items onto them.

<figure><img src="/files/wrqB89NF52WOkSJkcPF5" alt="" width="375"><figcaption><p>Art, Audio and Samples folder are disabled</p></figcaption></figure>

### On workspace disabled

The disabled folders are enabled again.

{% hint style="info" %}
You can specify an **entire path** by chaining folders with a "/" character. Make sure to enter the folder's path without the "Assets/" part.

Note that all sub-folders will be disabled too.
{% endhint %}

{% hint style="warning" %}
Note that **certain operations are** **still possible** on disabled folders, like for instance saving a file into them, or moving files into them using the OS File Manager. The disabling is purely a UI lock in Unity's Project view.
{% endhint %}
