How to limit access to shared folders in Windows step by step

Last update: 15/04/2025
Author Isaac
  • It is essential to define permission levels according to the user or group.
  • You can change owners and manage access from the Security tab.
  • Advanced sharing gives you more control than simple sharing.
  • There are methods with line of commands and specialized software for greater security.

Image of permission settings in Windows

When we share folders or files within the same computer or across a local network, it is essential to have control over who accesses and what they can do with that content. Whether at home or in a professional environment, maintaining the Privacy & Security of information is key.

Windows offers numerous tools to manage the Access permits to shared folders, allowing us to not only decide who can access them, but also whether they can modify, delete, or simply view the contents. Throughout this article, we'll guide you step-by-step through how to limit, adjust, or block other users' access to your folders, both on the network and on shared computers.

Why is it important to control access to shared folders?

The main reason for managing these permissions is the data securityWhen you share a folder, you run the risk of unauthorized people accessing, editing, or even deleting your files. This can cause problems, especially in work environments, where documents must be protected from unauthorized access.

Furthermore, shared home equipment, for example when a computer is used by several family members, it can be useful to prevent children or any other user from accessing or modifying personal information by mistake.

Managing access correctly also allows maintain order and control about which users have the ability to modify certain content. This helps you work collaboratively without fear of losing important information.

How to access the permissions settings panel in Windows

The first step in managing access to a shared folder is to access its security settings. The process is very simple:

  • Right-click on the folder you want to protect.
  • Select option "Properties".
  • Within the properties, access the tab "Security".
  • There you will see a list of users and groups that currently have permissions to that folder.

From this panel it is possible add or remove users and groups, as well as changing the permissions they have on the folder. This is the primary tool for managing local access in Windows.

Types of permissions in Windows for shared folders

Windows allows you to assign different types of permits to each user or group. This is done to control exactly what each person can do with the shared folder:

  • Total control: Allows you to perform any action: read, modify, delete, and change permissions.
  • Modify: Allows you to read, write, modify and delete files.
  • Reading and execution: Allows you to open files and program scripts.
  • Reading: It only allows you to view the files, without modifying or opening them.
  • Writing: Allows you to modify existing files or create new ones, but not delete them.
  What to do if your webcam isn't working in Windows 11: solutions and practical tips

In addition, there is the option to assign “Special permits”, which provide more detailed control, although they won't be necessary in most cases. Simply using basic permissions can cover the most common situations.

Owner of a file or folder: what does it mean?

In Windows, when someone creates a file or folder, they automatically become its “owner.” The owner has all the privileges over that content and can change both permissions and transfer that ownership to another user.

If for any reason you want to change the owner of a folder or file, you can do so from the properties menu, accessing the tab "Security" and then by clicking on "Advanced Options". You will see who the current owner is and you can click on "Change" to assign another user.

This procedure is very useful when we want to delegate the management of those files to another person or when we need to resolve an access conflict because we no longer have the original user who created the file.

How to share a folder in Windows and limit its access

Once a folder has been shared, we can establish which users or groups have access and what they can do within it. To do this, follow these steps:

  • Right click on the folder and go to Properties.
  • Select the tab "Share" and then click on “Advanced Sharing”.
  • Check the option “Share this folder”.
  • Give the share a name and click "Permissions".

From that last window you can delete the “Everyone” group if you don’t want everyone to be able to access it. Then, you can click on "Add" and select specific users. After adding them, select the read, write, or full control permissions for each one.

And that's it! Now only those users you've expressly authorized have access.

Network permissions using Windows user accounts

shared folders

To manage network access securely, it is ideal to create a specific user account on the host computer (the one sharing the folder). To do this:

  • Open the Control Panel or use compmgmt.msc from Run (Win+R).
  • Go to “Local Users and Groups”.
  • Click on “Users” and then on “New User.”

Once you've created a user, you can add them to groups if you wish. For example, you can create a group called personalCompany and add all the users in your organization there.

  What is NirSoft Suite and NirLauncher for and how to use them

Then, simply assign that group as authorized to access the shared folder, and manage their permissions from the dashboard. "Security".

Access a shared folder from another computer

Once a folder is shared, the next step is to connect to it from another computer. There are several ways:

  • Open File Explorer (This PC) and type the path in the address bar, for example:
    \\nombreDelEquipo\carpetaCompartida o \\192.168.xx.xx\carpeta

You can also map the folder as a network drive to have it automatically mounted every time you log in:

  • Right click on “This PC” and select “Connect network drive”.
  • Choose an available letter.
  • Enter the network path.
  • Check “Reconnect at login.”

If everything is configured correctly, you'll only be asked for the credentials of the user with permissions. Once entered, you'll have full or limited access, as appropriate.

What if I want to hide a file or folder?

In addition to limiting access, Windows allows hide files or folders so that they are not in plain sight:

  • Right click on the file or folder and press "Properties".
  • On the “General” tab, check the “Hidden” box.
  • Accept the changes and the file will disappear from view.

To see it again, go to the “View” menu in File Explorer and select the option "Hidden elements"However, keep in mind that any user with little knowledge can access it this way, so it's advisable to also use permissions if you're truly looking to protect your files.

Advanced settings from the command prompt

For those comfortable with commands, Windows allows you to manage permissions from the console (CMD) using utilities like icacls, cacls o takeownEach one has specific functions:

  • icacls: Assign, modify, or delete permissions.
  • takeown: Take ownership of a file or folder.
  • cacls: Allows you to view and modify file permissions (older).

For example, to grant full control of a folder to user “Maria,” you could use:

icacls "C:\CarpetaEjemplo" /grant Maria:F

And to take ownership of that folder if you don't have permissions:

takeown /F "C:\CarpetaEjemplo" /R /D Y

This is useful when there are persistent access errors that cannot be resolved from the graphical interface.

Passwordless Sharing: Is It a Good Idea?

A quick way to share folders is to allow access without having to enter a passwordTo do this, both computers must have a user name with the same username and password. If this is true, access is granted automatically.

  Diagnose cache errors and prevent data loss in Windows

Another option is to disable the password-protected sharing in the Control Panel, but this measure it is very unsafe and is only recommended in fully controlled environments. Removing this protection can expose your folders to unwanted access, even on a home network.

Troubleshooting common errors when sharing folders

Even though you've followed all the steps correctly, you may encounter errors such as:

  • Error 0x80070035: Network path not found. Check that the SMB server is active and that the folder is actually shared.
  • “You do not have permission to access this folder”: Check both SMB and file system permissions NTFS.
  • Problems with saved passwords: remove the credentials from the Credential Manager in Control Panel.
  • Service “Server” stopped: This service must be active for shared access to work.

In most cases, carefully reviewing permissions or restarting the services involved is usually enough to resolve the problem.

Using third-party software to protect folders

If you're looking for a higher level of protection or a more user-friendly interface for inexperienced users, there are programs that can help:

  • Protected Folder: It allows you to password-protect folders. The free version has usage limits, but it's effective at protecting sensitive content.
  • Folder Lock: Offers encryption, password management, memory lock USB, and more. Ideal for those who need multiple layers of security.
  • TrueCrypt: Allows you to create encrypted containers. It is a very powerful and open-source tool, compatible with Windows, Linux and macOS.
  • AxCrypt: It provides individual file encryption, is easy to use, and shows files as hidden even in Explorer.
  • 7-zip: Although its primary function is compression, it allows you to set passwords. It's useful for protecting specific documents.

Mastering permissions management in Windows is a skill that makes it easier to maintain complete control over sensitive files, especially when sharing folders with others. By understanding the tools the operating system offers and how to combine them with specific settings or additional software, you can achieve a much more secure and efficient environment.