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.
Loading...
Related Quiz
- The _________ file in an ASP.NET Core project helps specify the SDK version and other project-related configurations.
- Which deployment option is cloud-based and offers managed hosting services for ASP.NET Core applications?
- To use tag helpers in a Razor view, you need to add the _________ directive at the beginning of your view.
- Which tool among the following is primarily a command-line tool for .NET operations?
- For ASP.NET Core, the _________ attribute helps in grouping multiple related test methods.