twilio-aspnet icon indicating copy to clipboard operation
twilio-aspnet copied to clipboard

Add `Enabled` option for request validation, in favor of `AllowLocal` (please provide feedback)

Open Swimburger opened this issue 2 years ago • 1 comments
trafficstars

Recently, the default value for AllowLocal has been changed from true to false. This was because AllowLocal makes the request validation vulnerable to Server-Side Request Forgery.

Maybe it makes more sense to build in a kill-switch to turn on/off request validation as a whole, instead of AllowLocal. This option would respect .NET configuration's reloadOnChange feature, so it can be changed without having to restart the application.

I'm just thinking out loud here and would like feedback, thank you!

Swimburger avatar Mar 03 '23 17:03 Swimburger

I second this. I have to use a workaround because I'm running locally in docker.

dkrasnove avatar Oct 16 '24 22:10 dkrasnove