> From: harsh <[EMAIL PROTECTED]> > Can i restrict domains of the forms posting to my form handling > scripts.i.e only all the html or jsps inside http://www.mysite.com/ > can post to my jsps,and noone writes his own HTML forms and post to > my site ..
In other words, you'd like to prevent requests from someotherdomain.net from being allowed to access .jsp forms on your site. If you're using tomcat in conjunction with apache, you should be able to use apache's access directives. Something like <LocationMatch "/*.jsp"> Order deny,allow Deny from otherdomain.net </LocationMatch> Just be sure that your httpd.conf loads mod_access before mod_jk (eg - the AddModule for mod_jk appears before the AddModule for mod_access). -- [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
