Answer the question
In order to leave comments, you need to log in
How to set a password for a network folder?
Hello!
On my home computer (win10pro) I published a folder where I want to connect via wifi from another home computer. On wifi, the password is already reliable, but what if the neighbors turn out to be hackers, so I want it to require a password when connecting to the folder (but not the one from the account).
Actually, if you just share the folder, then the password is already required from the client. But! This is the password that I enter manually to enter the computer, and therefore it must be short. Therefore, using it for a network is not burglar-proof. It is necessary that the manual and network passwords are different.
Therefore, I did this: I created an account purely for the network with a complex password and changed the owner of the folder to it. And in the main account I cling to the folder through a network drive under the network account.
It seemed like a success! But there is a problem - when on the “server” I go to that folder from the main account, then the paths are considered network ones. And this leads to the impossibility of deleting through the trash, and scripts with programs also work unstably.
Here in samba on Linux, the network password can be set via smbpasswd. How to do the same on win?
Answer the question
In order to leave comments, you need to log in
It can be easier, first return the owner of
lusrmgr.msc
, create a new account, remove the user from the group, add it to any other group
, I have this "event log readers"
create a password
, fumble the folder through the advanced settings
properties> access> advanced settings> permissions
delete the group there we all
register our created profile
, set the rights, click ok
if it’s scary for our files: in the firewall, prohibit all incoming connections from the local area, except for those from which you are sitting yourself. In the router, you set the binding to the mac address on the devices from which you sit
everything, even if the password is received, they still won’t be able to log in
well, do not forget to change the password and login from the admin panel, and turn off the wps button
and the foil hat)
user1 - main user
user2 - to access the share
Both users are local.
Sharing the D:\common folder
For the main user, it remained as it was available along the D:\common path.
user2 we add access rights to the ball, we issue the correct rights to the folder.
I remembered why I didn’t do this before: I
saw my user in the shared access to the folder. Moreover, if the network can still be deleted, then the main one cannot be. This was embarrassing.
After experimenting, I realized that this window is more like a reflection of the security tab (if you delete userNet here, it will disappear there too). Those. there is no need to look at all.
But in fact, network access to the account is configured in the "advanced sharing settings".
Finally set it up like this. Checked up - lets only on userNetu that also achieved.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question