zf-fr / zfr-eb-worker

ZfrEbWorker is a thin layer to simplify the usage of SQS queues and Elastic Beanstalk environments
MIT License
8 stars 2 forks source link

Additional security check for validating user agent #35

Closed bakura10 closed 7 years ago

bakura10 commented 7 years ago

As an additional security check (in addition of localhost checking and #34), we could also validate the User-Agent, which is set to aws-sqsd/1.1 by Elastic Beanstalk.

danizord commented 7 years ago

What about including all these checks into WorkerMiddleware?

bakura10 commented 7 years ago

Yeah we could definitely do that :).