Production Hardening
Harden an Elsa and Elsa Studio deployment with explicit browser boundaries, TLS and proxy controls, monitoring, incident diagnostics, and a production checklist.
Browser boundaries: CORS and CSRF
builder.Services.AddCors(options =>
{
options.AddPolicy("ElsaCorsPolicy", policy => policy
.WithOrigins("https://studio.example.com", "https://app.example.com")
.WithMethods("GET", "POST", "PUT", "DELETE")
.WithHeaders("Content-Type", "Authorization"));
});
app.UseCors("ElsaCorsPolicy");Rate limiting and request boundaries
TLS, proxies, and network placement
Deploy Studio safely
Observe and investigate safely
Production checklist
Last updated