0

I am using Swagger with the nuget swashbuckle package. It all seems to work ok.

How do I keep it secure? I don't want anyone to be able to access Swagger docs by going to path-to-mysite/swagger.

Note: I am using Azure too, so wondering if I can use anything here - I tried turning on authentication, but I think that blocks anyone from calling the APIs.

I followed this method around 7mins:30 in this video.

I'd still like anyone to use the APIs, I just want the docs available to me though.

Benjamin Soulier
  • 2,223
  • 1
  • 18
  • 30
raklos
  • 28,027
  • 60
  • 183
  • 301

0 Answers0