What type of files are NOT recommended to be served as static files in ASP.NET Core for security reasons?

  • Configuration files
  • Images
  • JavaScript files
  • CSS files
Configuration files are generally NOT recommended to be served as static files in ASP.NET Core for security reasons. Serving configuration files exposes sensitive application settings to potential attackers. It's crucial to keep configuration files protected and not directly accessible from the web.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *