Skip to content

Is raw data accessible to users in the Observable Framework? #1259

Answered by mbostock
justinGilmer asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the output of a data loader will be visible to the user just like any other file you might load in a browser. Any data that is accessible to the browser is visible to the user — as you say, this is a fundamental property of client-side rendering.

I don’t typically think of the output of a data loader as “raw” data, though. Data loaders typically have access to data that is not available to users. For example, a data loader might run a query against a database to produce a summary; the summary will be visible to users, but the users won’t have access to the database and won’t be able to run other queries.

To restrict what users can see, you should filter or aggregate your data in your…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Fil
Comment options

Fil Apr 18, 2024
Collaborator

@justinGilmer
Comment options

Answer selected by justinGilmer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants