How can I prohibit my computer from accessing shared files through a direct network connection or share files with my computer?
Sometimes in terms of network security, we need to prohibit computer sharing of files. How can we achieve this? :
Method 1: Use the doscommand to display all the shared files on the local machine and delete the shared files on the local machine.
The net share command can easily display shared files on the local machine and delete shared files on the local machine in real time, thus greatly protecting the security of shared files. As shown in:
Figure: net share command displays Local Shared Files
Figure: delete a shared file using the DOS command
This method deletes all the shared disks or folders on the local machine in sequence to prevent arbitrary file sharing.
In addition, to prevent employees from resetting shared files without permission, we can use the Group Policy to prohibit computer sharing of files and shielding computer sharing files, as shown below:
Click Start-run and enter gpedit. msc to open the Group Policy, as shown in:
Click "user configuration"> "management template"> "shared folder", and then click "Allow to publish shared files", as shown in:
Click Enable and select "disabled", as shown in:
After this setting, you can completely disable the computer from setting up shared files again.
Method 2: Use a dedicated computer security management software to prohibit files shared by computers in real time and disable shared files in real time.
Nowadays, many computer security management software and computer file management software are integrated with the function of prohibiting computer sharing files and disabling computer sharing files in real time. For example, there is a "portable to USB port management software" (: http://www.grabsun.com/monitorusb.html), not only can completely shield U disk, mobile hard disk and other USB storage devices, prevents copying computer files through USB storage devices such as USB flash drives, mobile hard disks, and mobile phones, in addition, it can prohibit the computer from sending computer files by means of email, online storage, FTP File Upload, and QQ, thus greatly protecting the security of computer files. The portable to USB control system integrates the function of disabling file sharing, which allows you to disable the computer from setting shared files in real time to prevent copying computer files through shared files, this greatly protects the security of computer files. As shown in:
Figure: Disable computer sharing
In addition, the software can also disable registry and group policies, which greatly protects the security of the operating system, prevent some technical staff from modifying the Group Policy or group policy in reverse order to re-set shared files, so as to completely prohibit computer sharing of files, this protects the security of computer shared files.