Skip to content

Destination DuckDB should not have access to parquet files#81

Open
tim-band wants to merge 1 commit intomainfrom
duckdb-hardening
Open

Destination DuckDB should not have access to parquet files#81
tim-band wants to merge 1 commit intomainfrom
duckdb-hardening

Conversation

@tim-band
Copy link
Collaborator

Datafaker explicitly asks for destination database access.
Destination database access to a DuckDB database refuses Parquet file access.
Writing the tests was the hard part!

Copy link

@stefpiatek stefpiatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Comment on lines +197 to +198
# duckdb_con = duckdb.connect(self._db_path)
# duckdb_con.close()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh why have we commented this out?

Comment on lines +231 to +234
"config": {
"enable_external_access": False,
}
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh interesting who knew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants