Quantcast

Restrict access to webapps for IPs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Restrict access to webapps for IPs

Altrock, Jens
Hi there,

Hope this question won't sound as dumb, for I am completely new to Tomcat;
and I haven't found
what I was searching for in the documentation though...

I got four different applications/websites in the Tomcat webapps directory,
let's just call them A,
B, C and D.
The applications A, B and C should be accessible from the networks
192.100.46.0/24
as well as 172.16.0.0/16
But application D should be accessible from anywhere.

Is there any way to do this in tomcat? I tried with the apache .htaccess
files, but that won't work though.

Hope anyone can help me

Regards,

Jens Altrock


###########################################
Diese Nachricht wurde von F-Secure Anti-Virus gescannt.

This message has been scanned by F-Secure Anti-Virus.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Restrict access to webapps for IPs

Tim Funk
http://jakarta.apache.org/tomcat/faq/security.html#restrict

-Tim

Altrock, Jens wrote:

> Hi there,
>
> Hope this question won't sound as dumb, for I am completely new to Tomcat;
> and I haven't found
> what I was searching for in the documentation though...
>
> I got four different applications/websites in the Tomcat webapps directory,
> let's just call them A,
> B, C and D.
> The applications A, B and C should be accessible from the networks
> 192.100.46.0/24
> as well as 172.16.0.0/16
> But application D should be accessible from anywhere.
>
> Is there any way to do this in tomcat? I tried with the apache .htaccess
> files, but that won't work though.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...