Oracle Autonomous AI
Database (ADB) provides a powerful feature called Table
Hyperlinks, also known as Pre-Authenticated Request (PAR) URLs, which
allows you to securely access query results over HTTPS without exposing
database credentials.
When private
endpoints enter the picture, especially with “Allow public access” enabled, the
behaviour of these URLs can be a little confusing. In this post, we’ll walk
through:
Scenario Setup
With this
configuration, ADB is reachable:
- What URLs are generated
- How public and private PAR URLs differ
- Why one works only inside a VCN
- What to expect when accessing them from outside
- Database type: Autonomous AI Database
- Connectivity: Private Endpoint enabled
- Private endpoint setting: Allow public access = Enabled
- Privately from within the VCN
- Publicly through Oracle-managed public endpoints
2 l_status long;
3 begin
4 dbms_data_access.create_url(
5 sql_statement => ' select * from DEPT '
6 , service_name =>'LOW'
7 , inherit_acl => TRUE
8 , result => l_status );
9 dbms_output.put_line( l_status );
10 end;
11* /
{
"status" : "SUCCESS",
"id" : "N6Xz9aBiKGxtIcFhUneVYKatytDgmJERzQsY_Wi1PoaAeBS5nrM2WF0OQl4Vi1Pf",
"preauth_url" : "https://dataaccess.adb.us-ashburn-1.oraclecloudapps.com/adb/p/3wVmqlHLmedig2SvPAka6LfvBpDGbPEuHa8dmgl3D80J4Pl1TO13Qsqpd_wup98-5te4uhOCwNk/data",
"private_preauth_url" : "https://l1aoobfh.adb.us-ashburn-1.oraclecloudapps.com/adb/p/3wVmqlHLmedig2SvPAka6LfvBpDGbPEuHa8dmgl3D80J4Pl1TO13Qsqpd_wup98-5te4uhOCwNk/data",
"expiration_ts" : "2026-04-20T07:34:14.072Z"
}
Notice the two different URLs returned.
"items": [
{
"DEPTNO": 10,
"DNAME": "ACCOUNTING",
"LOC": "NEW YORK"
},
{
"DEPTNO": 20,
"DNAME": "RESEARCH",
"LOC": "DALLAS"
},
{
"DEPTNO": 30,
"DNAME": "SALES",
"LOC": "CHICAGO"
},
{
"DEPTNO": 40,
"DNAME": "OPERATIONS",
"LOC": "BOSTON"
}
],
"hasMore": false,
"limit": 1000,
"offset": 0,
"count": 4,
"links": [
{
"rel": "self",
"href": "https://l1aoobfh.adb.us-ashburn-1.oraclevcn.com/adb/p/3wVmqlHLmedig2SvPAka6LfvBpDGbPEuHa8dmgl3D80J4Pl1TO13Qsqpd_wup98-5te4uhOCwNk/data"
}
]
}