You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "sungwy (via GitHub)" <gi...@apache.org> on 2026/03/08 23:52:38 UTC

[PR] docs: define `Trusted Iceberg Client` In Iceberg Rest Catalog Spec docs [iceberg]

sungwy opened a new pull request, #15545:
URL: https://github.com/apache/iceberg/pull/15545

   This PR adds a docs-only clarification to https://iceberg.apache.org/rest-catalog-spec/ by introducing the term `Trusted Iceberg Client` as a subsection under `REST Catalog Protocol`
   
   The intent is to establish shared terminology for an assumption that already appears across current Iceberg design discussions across UDF, DEFINER/INVOKER views, and read restrictions: some catalog-driven restrictions only have security meaning when enforced by a trusted client. 
   
   By naming that trust boundary as `Trusted Iceberg Client`, future proposals can reference a consistent term instead of re-defining the same concept in each discussion.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: define `Trusted Iceberg Client` In Iceberg Rest Catalog Spec docs [iceberg]

Posted by "sungwy (via GitHub)" <gi...@apache.org>.
sungwy commented on code in PR #15545:
URL: https://github.com/apache/iceberg/pull/15545#discussion_r2902633465


##########
site/docs/rest-catalog-spec.md:
##########
@@ -40,3 +40,12 @@ The REST protocol is important for several reasons:
 - **Security**: The protocol supports secure table sharing using credential vending or remote signing.
 
 You can use the REST catalog protocol with any built-in catalog using translation in the `CatalogHandlers` class, or using the community maintained [`iceberg-rest-fixture`](https://hub.docker.com/r/apache/iceberg-rest-fixture) docker image.
+
+### Trusted Iceberg Client
+
+A **Trusted Iceberg Client** is a client implementation that a catalog operator trusts to correctly enforce
+restrictions and instructions returned by the REST Catalog server.
+
+In this model, the trusted client is entrusted to interpret server responses correctly and apply
+the required client-side behavior when reading or presenting data, so it does not expose data
+the user is not authorized to access.

Review Comment:
   In Iceberg, the REST Catalog returned restrictions aren't just advisory. It relies on Trusted Iceberg Client to enforce them to introduce more granular security restrictions on its users.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: define `Trusted Iceberg Client` In Iceberg Rest Catalog Spec docs [iceberg]

Posted by "sungwy (via GitHub)" <gi...@apache.org>.
sungwy commented on PR #15545:
URL: https://github.com/apache/iceberg/pull/15545#issuecomment-4245762718

   Closing as the REST Catalog Spec does not define how trust is established between a client and server.
   
   The spec only defines client behavior once a server returns restrictive permission-enforcement instructions. A Iceberg REST Catalog SPEC conforming client is expected to enforce those instructions.
   
   Whether a catalog server considers a client sufficiently trusted to receive or rely on such instructions is outside the scope of the REST Catalog Spec and is left to catalog implementation-specific trust mechanisms.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: define `Trusted Iceberg Client` In Iceberg Rest Catalog Spec docs [iceberg]

Posted by "sungwy (via GitHub)" <gi...@apache.org>.
sungwy closed pull request #15545: docs: define `Trusted Iceberg Client` In Iceberg Rest Catalog Spec docs
URL: https://github.com/apache/iceberg/pull/15545


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: define `Trusted Iceberg Client` In Iceberg Rest Catalog Spec docs [iceberg]

Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #15545:
URL: https://github.com/apache/iceberg/pull/15545#discussion_r2902629474


##########
site/docs/rest-catalog-spec.md:
##########
@@ -40,3 +40,12 @@ The REST protocol is important for several reasons:
 - **Security**: The protocol supports secure table sharing using credential vending or remote signing.
 
 You can use the REST catalog protocol with any built-in catalog using translation in the `CatalogHandlers` class, or using the community maintained [`iceberg-rest-fixture`](https://hub.docker.com/r/apache/iceberg-rest-fixture) docker image.
+
+### Trusted Iceberg Client
+
+A **Trusted Iceberg Client** is a client implementation that a catalog operator trusts to correctly enforce
+restrictions and instructions returned by the REST Catalog server.
+
+In this model, the trusted client is entrusted to interpret server responses correctly and apply
+the required client-side behavior when reading or presenting data, so it does not expose data
+the user is not authorized to access.

Review Comment:
   This definition can be read as a blanket security guarantee (“so it does not expose data…”) without stating the corresponding trust boundary (what happens with untrusted/buggy clients, and that these restrictions are only meaningful when the operator explicitly trusts the client and has storage/network isolation). Consider adding an explicit note that such server-returned restrictions are advisory unless enforced by a trusted client, and operators should not treat them as the sole authorization boundary.
   ```suggestion
   the user is not authorized to access.
   
   These restrictions are advisory and only effective when enforced by a correctly implemented, trusted client
   operating with appropriate storage and network isolation. They do not replace server-side authorization, and
   catalog operators must not rely on client behavior as the sole authorization or security boundary, especially
   in the presence of untrusted or potentially buggy clients.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org