The first method is to set the password for the shared password on the computer, or stop sharing. We just need to right-click the Show Shared Folder button and select the folder to be managed, click "manage" on the menu bar and select "stop sharing" to cancel sharing of the folder.
Method 2: disconnect a visitor and prohibit the user from accessing shared files on the LAN. The procedure is as follows: Click "show user" on the toolbar, select malicious visitors, click "Manage" on the menu bar, and select "disconnect user.
Method 3: disable local file sharing. The procedure is as follows: Find your shared folder and set it to not share. Close the file opened by the visitor directly. Click "show shared folders" on the toolbar, select the file to be closed, click "Manage" on the menu bar, and select "Close File". In this way, LAN users are prohibited from accessing the computer.
Method 4: We can install anti-virus software, such as installing 360 security guard. This can enable strong fire prevention, which can also prevent LAN access.