Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a windows share that anyone can connect to (no password), however users of specific computers should not be allowed to connect to them. How do I disable access for those users on those computers?

share|improve this question

migrated from Jul 5 '12 at 1:38

This question came from our site for professional and enthusiast programmers.

It's easier to set a password for the allowed computers.

Else, if the computers that you don't like to share the resource have static IP and they don't need to connect to the sharing computer, you can block their IP in the host files to prevent their access:

But this alternative is less secure than adding a password.

share|improve this answer
this method will not work. see it will work if you have a hostname to use (as in the example from the link you provided), but that's only because it will attempt to give itself the same host name and then connect back to itself (not finding a webserver on and displaying that the page could not be loaded). at best the method you propose is a hack. – mikhailvs Jul 3 '12 at 21:30

You must log in to answer this question.