Pergunta

Using C#, is it possible to iterate over a list of remote Windows computers connected to the LAN and turn on/off internet access for specific PCs only and while the internet connectivity is provided via a router? And all that without installing any client software on the remote PCs.

Foi útil?

Solução

This answer might better be served as a comment, but it is a little long to write there.

You should look into creating a Group Policy.

This is what our local Network Administrator does.

We have hundreds of PCs out on our production floor that have to connect to our network to access data over the local server and server at our remote plants.

These PCs access our network via a Public profile, which does not have Internet access.

We also employ multiple servers (applications server, mail server, web server, sql server, etc).

When the Public account is logged in, the router denies traffic to the web server.

If a manager or supervisor needs to look up a part out on the production floor, they can log in with their account (i.e. not the Public account) and access Internet information.

Lucky for me, you did not ask HOW to do this, because I am not really sure how this is done. You only asked if it was possible.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top