The terraform_remote_state data source reads root outputs from another state snapshot. The producer must deliberately publish those outputs.
Reading the consumer’s desired value does not grant the consumer ownership of the producer’s resources. However, access to the state snapshot can expose much more than the particular output the consumer uses. Treat the backend permission as a separate security decision. Publishing a value through a dedicated configuration store can offer a narrower interface. These questions compare sharing choices and failure cases; this browser lab does not connect to a remote backend or pretend to enforce its permissions.
An output interface and permission to read a state snapshot are separate concerns.