host-validation

Node.js middleware to validate Host and Referer headers in HTTP requests and protect against DNS rebinding attacks.

Browse on unpkg