File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i restrict user from accessing my Web Application?

 
Usman Saeed
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
karthikeyan Chockalingam
Ranch Hand
Posts: 259
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may configure a firewall [that fill filter out requests from IP addresses outside your network].
 
Usman Saeed
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 259
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic