Skip to content

Instantly share code, notes, and snippets.

Created December 11, 2014 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5a30c0592b5eb3445291 to your computer and use it in GitHub Desktop.
Save anonymous/5a30c0592b5eb3445291 to your computer and use it in GitHub Desktop.
Restrict Swagger access to authenticated users only
<location path="Swagger">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment