aspose file tools*
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Service Security ! Suggestion Please" Watch "Web Service Security ! Suggestion Please" New topic
Author

Web Service Security ! Suggestion Please

dhanu manjula
Greenhorn

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..

Thanks
Dhanu
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41863
    
  63
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
Greenhorn

Joined: May 25, 2006
Posts: 11
do you have any example to implement ?
 
Don't get me started about those stupid light bulbs.
 
subject: Web Service Security ! Suggestion Please