Bookmark Topic Watch Topic
  • New Topic

Control access to web application based on IP address

 
muktesh tripathi
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Report post to moderator
how can I configure my web application to deny or allow access to files based on IP address of request.

I want to deny access to some part of web application or may be one whole application if the request is coming from a particular group of IP addresses.
I am using Tomcat container. and need to permit some resourse access to authorised computers while denying access to others.

thanks in advance..
 
Ankit Garg
Sheriff
Posts: 9597
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
You can implement a filter to achieve this.

Also this doesn't seems to be concerned with SCWCD to me...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing this duplicate. Continue there.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!