A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Joined: Aug 23, 2011
Aug 26, 2011 11:48:20
Is there a way to configure
in a way that it doesn't accept POST and GET requests from other domains? (it will only accept from my domain).
If so, how can I do it?
Thanks in advance!
Joined: Apr 12, 2011
Aug 26, 2011 12:44:31
As far as I know, there is no way, since the handling of the request is all done by the
. You could certainly override the servlet handling the request to get that functionality...
It is sorta covered in the
JavaRanch Style Guide
subject: Configuring Tomcat
HTTPS - SSL
Strange exception when trying to make remote method call...
Remote debugging in JBuilder (Tomcat)
Security over socket connection
Order of parameters with Tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014