This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
The moose likes Web Services and the fly likes Web Service Security ! Suggestion Please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Service Security ! Suggestion Please" Watch "Web Service Security ! Suggestion Please" New topic

Web Service Security ! Suggestion Please

dhanu manjula

Joined: Aug 31, 2009
Posts: 19
Hi All,

I have a Web service called Srv01 & Web Application (App01) running on WAS6.0.
I need to reject all request from other web applications & only allow to access Srv01 web service from App01.
How could I do this ?
Please give me a little idea..

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42591
How about adding a username/password scheme for authentication, and then only handing out passwords to those clients that are allowed to connect? That's part of what the WS-Security standard does for SOAP services; for REST services, you could use HTTP Basic Authentication.

Ping & DNS - my free Android networking tools app
kin lau

Joined: May 25, 2006
Posts: 11
do you have any example to implement ?
I agree. Here's the link:
subject: Web Service Security ! Suggestion Please