Sharing of files, folders, and printers over a network
1. Introduction to Sharing ππ
-
Definition: Network sharing allows devices on a network to access files, folders, or printers on other devices.
-
Purpose:
-
Collaborate easily without copying files π»↔️π»
-
Use a single printer for multiple devices π¨️
-
Save storage and resources πΎ
-
2. File & Folder Sharing π
A. On Windows ⚡
-
Select Folder: Right-click → Properties → Sharing tab
-
Enable Sharing: Click Share, choose users or “Everyone” π₯
-
Permissions:
-
Read: Users can only view files
-
Read/Write: Users can modify files ✏️
-
-
Access: Other PCs can access via
\\ComputerName\SharedFolder
Tip: Map network folder as a drive for easy access:
-
Right-click This PC → Map Network Drive → Select folder → Assign drive letter
B. On Linux π§
-
Use Samba to share folders with Windows/Linux:
sudo apt install samba
sudo nano /etc/samba/smb.conf
# Add folder path and permissions
sudo systemctl restart smbd
3. Printer Sharing π¨️
A. On Windows ⚡
-
Open Control Panel → Devices and Printers
-
Right-click printer → Printer Properties → Sharing tab
-
Enable Share this printer
-
Other PCs:
-
Add network printer → Select shared printer → Install drivers
-
B. On Linux π§
-
Use CUPS (Common UNIX Printing System):
sudo apt install cups
sudo lpadmin -p PrinterName -E -v socket://IP_of_Printer
sudo systemctl restart cups
4. Practical Tips for Network Sharing π‘
-
Ensure all devices are on same network/LAN π§
-
Enable Network Discovery & File Sharing on Windows
-
Set proper permissions to avoid unauthorized access π
-
Use password protection for sensitive files and folders π‘️
5. Example Scenario π«
-
School Lab: Teacher shares assignments folder on server → Students access via network
-
Office: Single printer shared among 10 PCs → Print jobs managed centrally
-
Home: Family shares a music folder → Everyone can access without USBs π΅
π‘ Quick Summary:
-
File/Folder Sharing: Right-click → Share → Set permissions
-
Printer Sharing: Enable sharing on printer → Install on other devices
-
Tips: Same network, proper permissions, password protection
Comments
Post a Comment