Hmmm - is it possible that you want to achieve this so you can ensure there's only one person accessing a resource on the network somewhere? If it's a file, you could try locking the file appropriately...or you could do the job the safe and assurable way, and hide the resource behind a server, so the server is the only thing that can access it, giving you control again.