Shared resource management and control


foreword

Shared resource management


1. Sharing permissions and verification

1. Shared Access Authentication

  • By default, the current account/password of this machine is used to connect to the target computer
  • If the target computer has an account with the same name. If the password is the same, the connection is successful
  • If the target computer does not have an account with the same name
    1) When the other party enables guest access, connect as a guest
    2) Otherwise, it is required to re-enter the account and password

2. Manage passwords

  • remember my password
    insert image description here
  • Credential Management
    Control Panel→Credential Manager→Windows Credentialsinsert image description here

3. Share permissions

  • The scope of sharing permissions is only valid for users who access the shared folder through the network
    insert image description here

  • Works with NTFS permissions

  • Effective permissions when accessing NTFS shared folders
    1) When accessing locally, it is not affected by the sharing permissions
    2) When accessing the network, take the strictest value of the sharing permissions and NTFS permissions (take the intersection)
    insert image description here

2. Management sharing

1. Manage shared folders

This PC – Manage – Computer Management – ​​System Tools – Shared Folders – Sharing
insert image description here

2. Monitor and manage connected users

insert image description here

3. Monitor and manage opened files

insert image description here

4. Special Sharing

  • Shared folders automatically created by the system for management purposes
  • Main Category
    1) Drive letter$
    2) ADMIN$
    insert image description here

5. Hide Sharing

  • Not visible when browsing on the Web
  • The method of creating a hidden shared folder (add the special symbol "$" after the share name)
  • Access hidden share (UNC path\server IP\share name$)
    insert image description here

Example: Configuring and Accessing Hidden Shares

1) Win2016 shared server creates a hidden shared folder,
right-click D:\Big Movies directory Properties – Sharing – Advanced Sharing – check to share this folder, enter the shared name dapian$
insert image description here
2) Client UNC path access hidden sharing
start – run and enter \ 192.168.1.20\dapian$
insert image description here
3) The client host accesses the hidden share by mapping the network drive.
Start – run – cmd to enter the command environment and enter net use f: \192.168.1.20\dapian$
insert image description here
4) The client host opens the resource manager to view the added f: disk
insert image description here

Summarize

  • When accessing the Win share, the current user of the machine is used for authentication by default; if the target host does not have such a user, re-authentication will be required
  • Manage and control shared resources: Computer Management → System Tools → Shared Folders
  • Add $ after the share name to indicate that it is a hidden share

Guess you like

Origin blog.csdn.net/qq_41439534/article/details/130736292