You're developing a Snowflake Native App with a Streamlit I-Jl. The app needs to read configuration data from a file named within your application package. The file contains sensitive information, and you want to ensure it's only accessible by your application's code and not directly readable by the consumer. What steps would you take to accomplish this?
Correct Answer: B
The best approach is to store the 'config.json' file within the application package and access it using Python code within a stored procedure. By granting privileges only on the stored procedure and not on the 'config.json' file itself or the internal stage, you ensure that the consumer cannot directly read the configuration data. Option A exposes it directly to the consumer. Option C would need to be encrypted, which adds complexity. Option D means the configuration is outside your application package. Option E is simply obfuscation and not encryption and hence should be avoided.