I apply added the suggested codes below as Umbraco documentation to program.cs. But this does not help fixing security issues for Click-Jacking Protection & Content/MIME Sniffing Protection.
Do i miss something?
app.Use(async (context, next) =>
{
context.Response.Headers.Append("X-Frame-Options", "SAMEORIGIN");
await next();
});
app.Use(async (context, next) =>
{
context.Response.Headers.Append("X-Content-Type-Options", "nosniff");
await next();
});