java program for IP block

India
December 22, 2006 4:12am CST
i need help for my project which i need to block the IP of the system to prevent the user from using Internet, by using JAVA and this should be unblocked when the user provides the given username and password, and then he can start using the internet or if the username and password is not given they can only use the system programs.
1 person likes this
3 responses
• India
22 Dec 06
Hi! What is the environment? Should the software work on a standalone system or in a networked computers? If you give me the details of your project requirements, I guess I would be able to throw you some light. But I am also a novice in java. Let's see if we both can develop the package... waiting for your response...
• India
27 Dec 06
Hi, there was a delay, the environment is windows xp and i want it to be in network. the thing is we have a server of win 2000/xp and nodes of xp we want to give the client a username and password to have the access of internet or the intranet. with out username and password the client can only use the system as a standalone.
• India
28 Dec 06
You'll need to have static IP adds in all the client systems. Well You just need to do some socket programming. Build a GUI using swing if you want to have configurable system. This is a good project. We can discuss the requirements here first. Are you interested in it?
@kingadnan (1538)
• Pakistan
27 Dec 06
Wel dude i am also new to java but i can give you some ideas, i think you should use java.sql and java.net then if you know which ip you want to block you should restrict your application for that ip, seacond way is you should build sql database and also design login and sigunup forum whatever you want, then import java.sql and connect you application with your databasem, when some unknown use want to access your application your database should check his ip if his ip does not available in database so he should be see only warning page, and then you application should be exit,thats all. please tell me if you like my idea, feel free to send me private message to tell me your thinking about my idea. Thanks dude
@rave883 (140)
• India
22 Dec 06
oops i don't know anything about java :-)