3 ms·
It’s a consequence of weak typing choices - not an inevitable result of allowing flexibility. Doing glob matching on account IDs is like doing concatenation wi
by jameshart 3y ago
It’s a consequence of weak typing choices - not an inevitable result of allowing flexibility.
Doing glob matching on account IDs is like doing concatenation with guids, applying a bitshift to a UTF8 string, or running a regex on an integer. It is a nonsensical operation, and - as shown here - results in surprising security properties of the resulting system.
Surprising security properties are an undesirable result in an access control policy language.
- paulddraper 3y agoOf course it's possible to create a more sophisticated system with less possibility for user error.
- asdfaoeu 3y agoThey have ARN's which include the account which a glob match is useful. Something like "arn:aws:*:*:1234567890:*" is useful but "arn:aws:*:*:1234567*:*" isn't