File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Badass: Making Users Awesome this week in the Game Development 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: 42954
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.
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