My Oracle Support Banner

How to Disable or Remove Access to a RESTful Web Service (Doc ID 2582017.1)

Last updated on FEBRUARY 15, 2023

Applies to:

Oracle REST Data Services - Version 17.4 and later
Information in this document applies to any platform.

Goal

NOTE: The example below is for demonstration purposes only. The URL examples are based on fictitious data. Any similarity to actual data and / or persons, living or dead, is purely coincidental and not intended in any manner.

 

Current environment has many accessible rest services.  The goal is to disable access to a subset of them without disabling/uninstalling them. For example:

Here is a notional pattern of the urls for which access should be allowed:

https://<HOSTNAME>/apex/owner/emp/<ID Number>
https://<HOSTNAME>/apex/owner/empAddress/<ID Number>

Here are examples of ones that should not be accessible:

https://<HOSTNAME>/apex/owner/empEducation/<ID Number>
https://<HOSTNAME>/apex/owner/empAlias/<ID Number>

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.