An APEX application attached to an EBS database can see more than the pages suggest. The parsing schema, the interactive report download, and a public page left over from testing are the usual ways data leaves. Lock those down before the first external user.
Privileges of the parsing schema
Create a schema for the application. Grant it execute on your packages, and grant those packages only the EBS access they need. Do not grant APPS privileges to the parsing schema, and do not use the APPS schema as the parsing schema.
Views should project the columns the page displays. A “helpful” view of the full customer table, including bank accounts, will eventually be selected by an interactive report someone adds on a Friday.
Session and URL trust
Set the customer, supplier, employee, and operating unit from the login process. Use those bind variables in every query. If a page accepts an ID from the URL, check that the ID belongs to the session’s business entity before querying.
Disable deep linking to pages that should only open after login. Review the list of public pages on each release. There should be a written reason for each one, usually just the login page.
Exports and debug
Interactive reports can download every row the query returns. If the query is not restricted to the user’s organization, the spreadsheet will not be either. Turn off download where it is not required, and keep debug off in production so session state is not exposed to anyone who can open the toolbar.
Administrative actions (user enablement, role grants, interface reruns) belong on pages with their own authorization scheme and an insert-only audit table.
Checklist
- The parsing schema is not
APPSand has no broad table grants. - Queries bind the business entity from session state.
- Public pages are listed and justified.
- Downloads are restricted.
- Admin actions write an audit row.
An APEX app with EBS data needs a privilege review, not only a new theme. Contact Solution Markaz.