I am trying to deploy a Local Network web application, which should not necessitate a client login.
The requirement is to block certain machines, (not users, just a few computers, the application doesnot have a login page, so users are anonymous) in the LAN from accessing the application. The LAN has over 100 machines, trying to block 20 of the machines. Think of it as blacklisting the machines.
My concerns are:
- Can I do a mac address based filtering ?
- If not, should i be doing IP based filtering ? This might not be possible as the LAN is configured with Dynamic IP.
Is there any other way, through code that allows me to make my server configuration dynamic? Does the request hold any client-machine specific information which allows me to do this?
I do not actually have control on the network as it is for a client.I also donot have any say in the switches in use, the client OS, the budget etc.
LAN topology: Token Ring, the server is running a flavor of RedHat Linux.
The Web application is written in Java, deployed on top of TomCat, but the solution need not necessarily be constrained. I generally want to know if we can drop all requests from specific machines that are in the network to our application.