| Author |
How can i restrict user from accessing my Web Application?
|
Usman Saeed
Ranch Hand
Joined: May 21, 2008
Posts: 30
|
|
Hello, i want to access my web application only with in the local network. I don't want any user access web application out side the local network. Please give me some suggestions how can i do this. I am using jsp,javascript,sqlserver and tomcat as server.
|
Usman Saeed
|
 |
karthikeyan Chockalingam
Ranch Hand
Joined: Sep 06, 2003
Posts: 259
|
|
|
You may configure a firewall [that fill filter out requests from IP addresses outside your network].
|
http://www.skillassert.com
|
 |
Usman Saeed
Ranch Hand
Joined: May 21, 2008
Posts: 30
|
|
thanks for reply karthi, i have to deploy application to client and its an agreement that my client will access that application only within local network. so i have to apply restriction within source code.
|
 |
karthikeyan Chockalingam
Ranch Hand
Joined: Sep 06, 2003
Posts: 259
|
|
|
Then you may get the client IP from the HTTP request and verify if it is within the permissible range [using some configuration files]
|
 |
Usman Saeed
Ranch Hand
Joined: May 21, 2008
Posts: 30
|
|
|
I can not hardcode all IP addresses of network, what if new system attached or IP address changed of some computer.Can not i check on domanin or proxy etc? or something like that?
|
 |
 |
|
|
subject: How can i restrict user from accessing my Web Application?
|
|
|