Secrets: How to create Windows sharing _windowsxp

Source: Internet
Author: User
File sharing is the work of local area network users often deal with, although it is easy to say, in fact, it is not easy to do. This paper gives a detailed solution from the aspects of creating sharing mode, managing sharing and file sharing stealth Dafa.

   First, how to create a share:

There are two ways to file sharing for Windows XP systems: Simple File sharing (easy files sharing) and advanced file sharing (Professional files sharing).

   1. Simple File sharing

Creating a file share using simple file sharing is easy, just right-click on the folder, select the Sharing and security ... menu item, click the Share tab item (Figure 1), and then check the "Share this folder on the network" item, which displays the name of the file directory you want to share in the share Name column. If you allow users on your network to modify your shared files, you can also check the "Allow network users to change my Files" item.

Small hint: XP system by default is to open Simple File sharing feature.

But if you're addicted, you can also share disk drives. Just click on the drive disk with the right mouse button, select the "Sharing and security ..." menu item, tap the Share tab item (Figure 2), and a security prompt prompts you to note the risk of drive sharing. If you continue to share, click on the "Shared drive Root" link and the following actions are the same as folder sharing operations.


Shared folders and drives can be accessed on the assumption that the shared computer has the Guest account open, and the default guest account for the XP system is not turned on, and the guest account must be opened if network users are allowed to access the computer. Expand the "Control Panel → management tools → Computer Management → Local Users and groups → users" option, right-click on the Guest account on the right, select the "Properties" menu item, and remove the "Account deactivated" option (Figure 4). If it is not yet accessible, most of the local security policy restricts user access. In the case where the guest user or the local corresponding account is enabled, expand the control Panel → Computer Management → local Security policy → user rights assignment item, and in the "Deny access to this computer from the network" list of users (Figure 5), if you see the guest or the corresponding account, delete directly, Users on the network are accessible, so that users can access the share without any password, and access is simpler and clearer.

Figure 4

Figure 5

 

  2. Advanced file Sharing

Advanced file sharing for XP systems is designed to restrict user access by setting up different accounts and assigning different permissions, that is, to plan the sharing of folders and hard disk partitions by setting access Control List ACLs (access controls lists).

  1. Prohibit Simple file sharing

First open a folder, click the menu bar "tools → Folder Options", select the "View" tab item, in the advanced settings, remove the "Use Simple File Sharing (recommended)" option (Figure 6).

Figure 6

Tip: This step alone does not enable advanced file sharing, which simply disables simple file sharing and requires that you start the account and set permissions so that you can restrict access.

  2. Set up account

Opening the Guest account alone does not achieve the purpose of multiple users with different permissions. In advanced file sharing, Windows XP system by default does not allow network users to access the system without a password account. So, we have to set up different accounts for users with different permissions. Enter the user account for the control Panel, with the computer's account and guest account.

Generally, the access rights of the network users is the same, at this time we only need to set a user on it. In a user account, create a new user, you must consider network security, the account set must be minimal and minimal, and the type set to restricted users. Click the "control Panel → user account" Item, click "Create a new Account" link, enter the account name "JJ", in Figure 7, select the "Restricted" item, and finally click the "Create Account" button to complete.

There is also a simple way to add a new account: Expand the "control Panel → admin tools → computer management → system tools → local Users and Groups → users" item, in the right window, click the right mouse button to select the New User menu item, as shown in Figure 8.




3, set sharing permissions on shared folders, of course, you can also customize the share permissions, users can be set according to their own situation.

Figure 13

4, after the completion of a shared folder created, the system will ask you if you want to create a shared folder. Select "Yes" to go back to step 2nd to create the interface to select a new shared folder, or "No" to exit the creation of the shared folder.

Set up multiple shared folders, using the Shrpubw.exe command is the quickest.

  second, management sharing

  1. View shared folders that have been created

Expand the "Control Panel →→ management tools → Computer Management → shared Folders → shares" item (figure 14) to see which shares are open on this computer.

If you want to see what the local area network share, through the "Network Neighborhood" to see more than one computer shared files are obviously powerless, how to do? With "Landiscovery" software, only 96KB, the most important it is free software, the current version is 1.0, suitable for WIN9X/NT/2000/XP, can be downloaded from the www.fast-download.info/LanDiscovery.html.

Landiscovery software is very simple to use, software installation, double-click on the desktop "Landiscovery" icon to run the software. When the software runs, it automatically scans the computers in the local area network. And gradually displayed on the left side of the software window, simply select the computer name of any one of the computers (Figure 15), on the right side of the software window immediately display the computer's shared file directory, click on the shared file directory, you can open the directory to use the shared files.

Figure 14

Figure 15

You can also use the "cmd" command in the start → run window to enter the "net share" command (Figure 16) in the Pop-up Run dialog box to view the shared resources.

Figure 16

3. Delete shared delete shared files just click the right mouse button on the folder, select the Sharing and security ... menu item, click the Share tab item (Figure 21), and then remove the "Share this folder on the network" item before the small tick, click the "OK" button after the file directory can not be shared on the LAN.

Figure 21

You can also use Notepad to create a new batch file with a suffix named bat, in which you enter the command in the following format:

NET share admin$/del

NET share ipc$/del

NET share C $/del

NET share d$/del

If there are other disk characters or folder shares, you can add them in turn.

Add the batch file that you just created to the system's scheduled tasks and select "Computer startup" in the option to perform the task. This allows the system to automatically run the batch file after each boot and turn off the specified default shared services. If you don't want to use scheduled tasks, you can also drag a shortcut from that batch file to the Start menu, and you can do the same. The effect is shown in Figure 22.

Figure 22

  Third, file sharing stealth Dafa

The real threat to your own information security in a local area network is not a secret hacker, but a "person" around you. Because of the wide application of shared files in the local area network, in order to better protect themselves, it is necessary to use stealth Dafa to prevent the internal malicious attacks in the shared files.

 1. Hide Shared Folders

Do not think that the password for the shared folder can guarantee security, Windows system vulnerabilities are too many, you know which patch is not in time to fill it? It's too dangerous. It would be much safer to let someone else see your shared files from a network Neighborhood.

Implementation: Right-click the shared folder you want to hide, click the Share tab item, fill in the name of the shared folder in the share name, and then add the dollar character "$", such as "Shared file $", and then fill in the password. If someone wants to access your shared files, you can't see them in your network Neighborhood, you must enter "\ Computer name (or IP address) \ Shared file $" in the address bar, and then enter the password confirmation to access your folder.

  2, no share logo sharing

If one day he found that there is a shared file on your computer, that is, the shared folder has a special logo to share, there is a small holding hand, which is the obvious difference with the general folder! How can you remove the small hand flag of the shared folder, so that the shared folder and the normal folder, outsiders can no longer see which directories are shared, which directories are not shared, so that security is more secure. The following is the way to implement the share E disk without shared flags: first, use the "Hide Shared Folders" method to set the E disk to a hidden share, then open Registry Editor, and then open the Hkey_local_machine\software\microsoft\windows\ CurrentVersion

Computer Management

\network\lanman\e$ to change the key value of the DWORD value "Flags" from "192" to "302" and restart the Windows system for it to take effect. If you need access, just enter "\ Computer name \e$" in the address bar to see the shared content of e disk. At the same time, you will find that in the local resource browser can not see that e disk is shared, is not very magical? No one knows the secret except yourself.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.