Azure Notebooks security and presentation traps

New Contributor

Some time ago I found Azure Notebooks service based on Jupyter Notebooks. Cool and simple stuff to present your content with Markdown syntax. Even cooler when you can run code in it. In Azure Notebooks you can query Azure SQL database. Imagine possibilities of documenting db in a simple and clean way. This is where "challenges" came up:

1. I don't want to hit the content consumer with too much code so I want to hide the code but present the output. There are many ways of doing that but every method I applied ended up with code being visible because of: <inline script removed for security reasons>. How to avoid this (only simple solution i is worthy)?

2. Anyone who has a link to the notebook can download a copy. It's downloaded as JSON and when you open it... Ups... All passwords and usernames are visible. I know, I know it's naive to think that it will be coded somehow. And again: is there a simple and easy way to hide credentials in the notebook?

This tool is powerful but for people not familiar with python or .js this two problems may stop them to use this tool.

0 Replies