0

Are files put into the Pages/Shared folder public to the whole WWW if the website is hosted publicly? I am asking since I want to implement a partial view load thru a controller and want to know whether it's secure.

I am using ASP.NET Core version 6 if that matters.

schroeder
  • 123,438
  • 55
  • 284
  • 319
Munchkin
  • 212
  • 2
  • 10

1 Answers1

1

By default, no. Those are files used to render pages on server side. If you will not modify the configuration of where from static files are hosted or the IIS setup (open directory browser feature) you should be secure.

Bartosz Rosa
  • 337
  • 1
  • 6