title: Using the temp directory for Azure Functions
body: <p>I have a set of Azure functions running on the same host, which scales up to many instances at times. I'd like to store a very small amount of ephemeral data (a few kb's) and opportunistically share those data between function executions. I know that the temp directory is only available to the functions running on that same instance. I also know that I could use the home directory, durable functions, or other Azure (such as blob) storage to share data between all functions persistently.</p>
  <p>I have two main questions</p>
  <ol>
  <li>What are the security implications of using the temp directory? Who can access its contents outside of the running function?</li>
  <li>Is this still a reasonable solution? I can't find much in the way of Microsoft documentation outside of what looks like some outdated kudu documentation <a href="https://github.com/projectkudu/kudu/wiki/Understanding-the-Azure-App-Service-file-system" rel="nofollow noreferrer">here</a>.</li>
  </ol>
  <p>Thanks!</p>