News for hackers. Stuff that matters.
Re:AWS Lambda Edge changes duration billing granularity from... by cactus2093 on Friday April 09, 2021 @09:13PM (#26758056)
It's funny our team literally just last week did something like this at ___ BigCorp. We need to verify a JWT signature from a new 3rd party provider and then append a secure auth token that is accepted by the backend service. Couldn't this just be done in the backend service? Why yes it definitely could. But apparently there are rigid security policies in place, and this stuff appears to have been carved in stone and approved by SOC2 auditors and lawyers and regulators or whatever and they have agreed that the backend gateway would use X specific formats for authentication and nobody can make any exceptions. So instead our team is spinning up an ad-hoc lambda function attached to cloudfront which will use none of our usual tooling & frameworks and have zero visibility for our security teams and be full of whatever soon to be out of date 3rd party js dependencies we need, all in the name of security so that we can pretend that the API we're communicating with is using our approved auth token format when they aren't. Just another day at a big company, really.
Re:AWS Lambda Edge changes duration billing granularity from... by rtpg on Friday April 09, 2021 @09:38PM (#26758182)
I mean a less cynical reading is that this is like nginx handling https->wsgi for your Python application. You can deal with a unification of your auth stack and not have application development be disrupted
Re:AWS Lambda Edge changes duration billing granularity from... by FpUser on Saturday April 10, 2021 @12:42AM (#26758988)
I would not call it cynical. Rather naming things for what they are.
Re:AWS Lambda Edge changes duration billing granularity from... by isoprophlex on Saturday April 10, 2021 @02:16AM (#26759364)
Interesting, and that actually makes (some sort of) sense. Thanks..!
Re:AWS Lambda Edge changes duration billing granularity from... by ryanmarsh on Friday April 09, 2021 @10:15PM (#26758376)
Oh hi. I see you work for one of my clients.