-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kristof,

On 2/19/2010 7:45 AM, Kristof De Vos wrote:
> Now we have another server running Tomcat and we also need to limit the
> access to a specific browser, but I cannot find the way to do this. 

Is Apache httpd being used in this environment as well (in front of
Tomcat)? If so, you can just use the same configuration you have for
your PHP app for this one.

I suppose this isn't the case, otherwise you'd just have done that.

Tomcat does not directly support your requirements, but there's an
excellent filter that we often recommend. It's basically mod_rewrite for
Java, and it's free: http://tuckey.org/urlrewrite/

With a bit of configuration, you can configure this filter to check for
the User-Agent and redirect to another resource when appropriate.

As Pid suggests, though, using User-Agent for authentication is not
terribly secure.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt+spgACgkQ9CaO5/Lv0PCckwCgtDfEUFSYL9mRxIrlN7baxW4w
A8IAnAj5e+P+sxqMT2FEC9g1SgeENn8j
=8luV
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to