cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict access to url by ip

Former Member
0 Kudos

Hi,

I have developed a web service on Sap Web AS Java 6.40 and want to restrict access to it to only one other host on my network. Is there a way to restrict access to the web service depending on the callers IP address ? If there is no way to do this in the ICM or HTTP Provider , is there a way to do this in the web service ?

Thanks

Thierry

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Thierry,

Disregard my first suggestion. After having a brief chat with some experts, they convinced me it'll not work.

As an alternative, I could suggest that you solve this problem with your application logic. Something as write a controller sevlet that is an entry point to your application. You can obtain the client IP in the servlet's code and check if the request comes from the "allowed" host and forward the request appropriately. Do you think it'll work?

Regards,

Ivo

Message was edited by: Ivaylo Ivanov