How can you only access your own host directory and a specific folder

Updated on technology 2024-03-26
15 answers
  1. Anonymous users2024-02-07

    In order to ensure the security and stability of the Windows system, many users use the NTFS file system, so the access rights of shared folders are not only restricted by the "sharing permissions", but also by the access rights contained in the ACL (access control list) of the NTFS file system. The following article takes the "cce" shared folder as an example to describe how to reasonably set the access rights of the "cceuser" user to the "cce" shared folder to enhance the security of the shared folder.

    1.Sharing permission settings.

    In Explorer, right-click the "CCE" shared folder, select "Properties", switch to the "Sharing" tab, click the "Permissions" button, pop up the "CCE's Permissions" setting dialog box, click the "Add" button, add "CCEUSER" to the "Group or User Name" list box, here "CCEUSER" must have read and write permissions to the "CCE" shared folder, so the author wants to give the "Full Control" permission, and finally click the "OK" button, Complete the sharing permission settings.

    2.NTFS access permission settings.

    After all, the CCE shared folder is subject to both "shared access" and "ntfs access", if the ntfs file system does not allow the "cceuser" user to access the share, it is also not possible, and it is necessary to give the setting reasonable NTFS access permission.

    After switching to the Security tab in the CCE Shared File Properties dialog box, first add "Cceuser" to the "Group or User Name" list box, and then set access permissions for it. After selecting "cceuser", select "Read and run, list folder directories, read, modify and write" in the "cceuser permissions" list box, and finally click "OK".

    After the above operations, the access permission settings of the "cceuser" user of the "cce" shared folder have been completed, and the permission permission settings for the shared folders of other users are the same, so I will not repeat them.

    If it is for other operating systems, it is easier to use file permission tools such as SSH! Recommend!

  2. Anonymous users2024-02-06

    I don't know how you can log in remotely, it can be ftp sab mount and so on.

    There are different ways to do it.

    I'll tell you exactly how you log in.

  3. Anonymous users2024-02-05

    Just give the accessible directories the corresponding permissions.

  4. Anonymous users2024-02-04

    For example, only user1 can access the home user1 folder.

    And you use the root user.

    Then under root, use.

    mkdir home user1 to create a folder.

    chown user1 home user1 assigns an owner to the folder.

    chmod 700 home user1 specifies that only the owner has permissions, and no one else can access them

    If he can't access other files ... It's not easy to do.

    Because if you look at the access rights of a file -rwxrwxrwx, it means that the owner reads and writes the execution, the owning group reads and writes the execution, and the other read/write executions.

    And the third part of most files in the system is at least r--, that is, anyone can read it.

    Besides, if you want him to lose access to other files, he won't even be able to access the system...

    At least he left the read permission, of course, he can't see the root directory of other users by default.

    For example, root is invisible to any user.

  5. Anonymous users2024-02-03

    This is not possible under XP, and must be firewalled.

  6. Anonymous users2024-02-02

    Here's how:

    First of all, you need to know the name of the logged-in account of the computer with the specified IP address.

    Create these accounts on the host of the shared host, and ensure that the password of the created account matches the password of the computer using the specified IP address.

    Change the sharing permission of the shared folder to everyone.

    Right-click on the shared folder, select Properties, click Security Options, add those newly created accounts, and delete all other accounts.

    This way, those computers with the specified IP will be able to access the shared files.

    To use the method above, you first need to make sure that everyone has access to the shared folder normally.

  7. Anonymous users2024-02-01

    Build two groups

    The first group only has access to 1 directory.

    The second gruop has access to all directories.

    Add a to the first group and b c d to the other group.

  8. Anonymous users2024-01-31

    Set up an FTP server;

    You can use software such as Serv-U or FileZillaServer to build a simple FTP server;

    Then create FTP accounts with different folder permissions;

  9. Anonymous users2024-01-30

    This is very simple, and the server2003 service itself comes with this function. You first set up a few users and share the file. Give each user different permissions. Each user is then assigned to those in your department.

  10. Anonymous users2024-01-29

    Youmi Cloud Disk can realize file sharing synchronization, collaborative operation, multi-user access, user permission assignment, etc.

  11. Anonymous users2024-01-28

    You can suggest setting up an FTP server so that every user will have a permission!

    If it's just sharing, you're going to create multiple users and multiple permissions for each user. Setting up an FTP server is much easier!

  12. Anonymous users2024-01-27

    It is best to have a domain environment so that you can set it up with NTFS permissions. Specifically, I can only point you in a direction, you go to 51CTO to look for it, there should be.

    Hope it works for you.

  13. Anonymous users2024-01-26

    It is recommended that you use file service software, such as serv-u, which can easily implement the functions you say.

    If you don't need management software, you need to set folder permissions for each folder, and you have to ask for domain mode, which doesn't seem to be supported in workgroup mode. All kinds of permission settings, user settings, it is very troublesome.

    I hope it helps

  14. Anonymous users2024-01-25

    That's because the computer isn't in the domain.

  15. Anonymous users2024-01-24

    You can set it up to share with Samba, then you can only see his own directory, and other directories can't see it, if it's a user who prevents logging in to the host, then it's a good choice to use the chroot mentioned downstairs.

Related questions
6 answers2024-03-26

Hand oil 50 grams of sesame oil or salad oil, 30 grams of honey, 1 egg white, mix well, soak your hands in it for about 10 minutes. Then, rinse your hands well for a satisfying nourishing finish. Leftover hand oil can be placed in a glass bottle, placed in the refrigerator, and soaked once every two days. >>>More

17 answers2024-03-26

1.Enter.

2.Select your local mobile company's web page. >>>More

20 answers2024-03-26

It's like you said, you can't break it off with her sooner. >>>More

3 answers2024-03-26

Happiness is a person's situation, is a person's vision, we will not have troubles as long as we live happily, happiness comes from our own hearts, don't feel inferior, people, are great, no one is shorter than whom, you have to believe in yourself. Happiness comes from treating life well, not because of the advance and retreat and the growth of the bold spirit and delicate feelings, therefore, happy people can always smile in the face of life, he has the sun and the moon to look down on the world's heroic atmosphere, he can get a quiet and calm in the noise, he always has the virtue of warmth for all the potential beauty in life, he never cares about the gains and losses of a city and a place. He was able to maintain his graceful demeanor even if he was injured by an accident, and just smiled indifferently. >>>More

20 answers2024-03-26

Then be happy every day! Do what you want!