Complete guide to sharing a folder on a local network
Discover the steps to access your files from any device connected to your home network

KEY TAKEAWAYS
- File sharing setup on Windows 11, Mac, and Ubuntu
- Accessing shared files from other devices on the same network
- Managing permissions and security of the share
If you have more than one computer at home and want to avoid the tedious copy-and-paste of documents between devices, sharing a folder over the network is the ideal solution. This practice allows you to access the same files from any device connected to your home network, simply by using the username and password of an account on the computer that shares the folder.
Sharing a folder over the network is useful for anyone who has multiple devices connected to the same local network, either via Wi-Fi or via Ethernet cable. This method is particularly advantageous for those who work with multiple computers, for those who want to synchronize files between devices, or for those who simply want to have access to their files from any point in the house.
Furthermore, you will discover how to access shared folders from other devices, such as iPhones and Android smartphones, and how to access your files over the Internet using cloud services or a personal VPN.
Do not worry if you are not an expert in networks: the steps are simple and within everyone's reach. Follow the instructions carefully to complete the process in a few minutes.
Prerequisites
- Hardware:
- Additional devices (optional): iPhone, Android smartphone
- Software:
- Operating system: Windows 11, macOS, Ubuntu
- User account with name and password on each computer
- Samba and nautilus-share (for Ubuntu)
How to share a folder in a local network
Following this guide, you will learn how to share a folder in a local network, making it accessible from all devices connected to the same network.
How to share a folder in a Windows 11 network
- Open Settings with the key combination Win+I.
- Click on Network and Internet in the sidebar.
- Check what appears under the heading Properties, at the top.
- If you read Public Network, select Wi-Fi (or Ethernet, if you are connected via cable).
- Open the properties of the network in use and, in the Network profile type section, choose Private Network.
- Go back to Network and Internet and press Advanced network settings and Advanced sharing settings.
- Expand the Private Networks section and make sure that Network Discovery and File and Printer Sharing are set to On.
- In the All Networks section, leave Password Protected Sharing active.
- Locate the folder to be shared in File Explorer, right-click on it and select Properties.
- Open the Sharing tab and click the Share… button.
- In the Network Access window, you will already find the Administrators group, as Owner, and your account, with the Read/Write level.
- If you just need to enter with the latter, press Share and then Operation completed.
- If you want to give access to another account on the PC, before confirming, click on the arrow of the box at the top, select the account from the list and press Add.
- The account will appear with the Read level, which you can change to Read/write from the menu next to its name, if you want it to be able to modify and delete files as well.
- Repeat the procedure for any other folder to be shared.
How to share a folder in a network with Mac
- Open the Apple menu, choose System Settings.
- Select General in the sidebar and then Sharing, on the right.
- Activate the switch next to File Sharing and click the (i) button of the same entry.
- Press the + button under the Shared Folders box, locate the folder to be shared and click Open.
- Then choosing the folder in the list, in the Users box you will find your account with Read and Write permission.
- If you want to change a user's permission, use the menu next to their name.
- Now press Options…, at the bottom, and check that the switch Share files and folders using SMB is active.
- In the Windows File Sharing section, check the Active column next to your account, type the account password in the request that appears and confirm with OK.
- Press Done in the options window.
- In the File Sharing panel, before pressing Done again, take note of the smb:// address that appears at the top.
How to share a folder in a network with Ubuntu
- Open the Terminal from the Ubuntu logo at the bottom left.
- Give the following commands, pressing Enter after each one:
- sudo apt update
- sudo apt install samba nautilus-share
- Set a password for Samba with the command:
- sudo smbpasswd -a username
- Execute the following commands:
- sudo usermod -aG sambashare username
- Choose End Session.
VERIFICATION AND TROUBLESHOOTING: How to test if it works and what to do if it fails
After sharing the folder over the network, it is important to verify that everything works correctly and to know how to solve any problems. Follow these steps to test the sharing and solve common problems.
Sharing verification
- From another Windows computer:
- Press Enter and enter the requested credentials (username and password of an account on the computer that shares).
- If everything works, you will see the contents of the shared folder.
- From a Mac:
- Open Finder and select Go > Connect to Server.
- Type the address smb://IPAddress, where IPAddress is the IP address of the Mac that shares the folder.
- Press Connect and enter the requested credentials.
- From an Android or iPhone device:
- Install an SMB client app like ES File Explorer (Android) or FileBrowser (iOS).
- Open the app and enter the address \\PCName\FolderName or smb://IPAddress.
Troubleshooting
- Connection problems:
- Make sure all devices are connected to the same local network.
- Check that the firewall does not block file sharing.
- Check that the Samba service is active on Ubuntu.
- Authentication errors:
- Verify that the entered credentials are correct.
- Make sure the user account has the correct permissions on the shared folder.
- On Mac, check that the account is active in the Windows File Sharing section.
- Permission problems:
- On Ubuntu, make sure the user is added to the sambashare group.
If the problems persist, consult the specific documentation of your operating system or search for online solutions based on the specific errors you encounter.
Educational Summary and Invitation to Practice
You have learned how to share a folder in a local network and access it from different devices, both on Windows 11, Mac, and Ubuntu. Now you can organize your files efficiently and access them from any device connected to your home network.
- On Windows 11, you configured the network profile, enabled file sharing, and set permissions for users.
- On Mac, you enabled file sharing via SMB and managed authorized users.
- On Ubuntu, you installed Samba and nautilus-share, configured passwords, and added your user to the sambashare group.
Now that you know the steps, put these instructions into practice right away. Start with one device, verify access, and then proceed with the others. Remember to always use secure and reliable networks to protect your data.
Good work and good organization of your files!
Editorial Note and Disclaimer
The guides and content published on GoYou are the result of independent research and analysis activities, for informational, educational, and in-depth purposes.
GoYou does not constitute a journalistic publication or an editorial product pursuant to Law No. 62/2001 and does not provide real-time information.
The GoYou project does not provide professional, technical, legal, or financial advice and disclaims any liability for the misuse of the information published.
In the Crypto sector, every investment involves risks: the reader is invited to always inform themselves independently before making any decision.
Source: aranzulla.it · GoYou.it is not a registered news outlet; all content is for informational and educational purposes.