A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Security For my web-application
Sarath Koiloth Ramath
Joined: May 07, 2008
Jan 24, 2009 01:39:14
I need my web-application to be accesses from certian Ip addess.How can i acheive this ?
Thank in advance
J 4 Java
Joined: Mar 22, 2005
Jan 24, 2009 01:55:05
HttpServletRequest.getRemoteAddr returns the IP address from where the request originates. You can compare that with the list of approved addresses, and return an error (maybe 403 - SC_FORBIDDEN) if it's not in that list.
Java web charts
Joined: Aug 11, 2007
Jan 24, 2009 11:16:56
Of course, IP addresses are fairly easy to spoof, so if you want real security, you can't rely on the client's TCP/IP address.
I agree. Here's the link:
- it saves me about five hours per week
subject: Security For my web-application
stop synchronous web service call
Need a good website or book which walks me through developing a J2EE Web Application
security sandbox error while accessing applet from client machine.
How to increase number of parellel ajax hits from same user!!
how do I deploy/run two web apps in one jboss6 Application Server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013