You can try same by configuring Custom-URL-Category to achieve your requirement. You can create custom URL category for URL with specific URI and separate category for Primary URL. Then write appropriate security-policies for allowing & blocking it for required IPs.
Hope it helps!
Thank you for your response.
abc.com is our server hosting application.
abc.com should be allowed to all users to access, which is already allowed.
but abc.com/odata should be restricted to allow to access from specific set of Public IP which we'll define.
I missed to mention the part abc.com is hosted by us.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!