For custom applications that need reliable, long‑lived access to unstructured data files, Snowflake recommends using the File URL. Unlike scoped or pre‑signed URLs, File URLs do not expire and precisely identify the object location (database, schema, stage, and path), ensuring your application can fetch files consistently without needing to regenerate links.
The problem is that to the same link, https://docs.snowflake.com/en/user-guide/unstructured-intro, it says the same about Scoped URL: Ideal for use in custom applications, for providing unstructured data to other accounts through a share, or for downloading and analysis of unstructured data in Snowsight. Hence, A could be good, as well. But, since the access is a little more restrictive:
Recommended for file administrators to give scoped access to data files to specific roles in the same account. Provide access to the files with a view that retrieves scoped URLs. Only roles that have privileges on the view can access the files. Snowflake records information in the query history about who uses a scoped URL to access a file, and when.
And, since in the question, we do not have any mention related to the access, I still keep B as answer.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Billhardy
1 week, 6 days agoar_1510
2 months, 3 weeks ago37ceea2
3 months agoMultiCloudIronMan
3 months, 3 weeks ago