AWS AmazonCloudFront: Signed URL wildcard URL-encoding wording tweak
Summary
Changed 'may grant broader access than intended' to 'might grant broader access than intended' in the guidance about URL-encoding '*' and '?' characters in signed URL resource paths.
Security assessment
The line documents a security best practice: unencoded wildcard characters in signed URL resource paths can broaden access beyond intent. The actual diff is only a wording change ('may' to 'might'), so no new vulnerability or fix is addressed, but the content is security-relevant authorization guidance.
Evidence
+ * **Special characters** – If the URL for your resource contains an asterisk (`*`) or question mark (`?`) character (for instance, in the object key name), you must URL-encode those characters (`%2A` for `*` and `%3F` for `?`). This is because CloudFront interprets unencoded `*` and `?` characters as wildcard characters in the resource path. If these characters are not URL-encoded, the signed URL might grant broader access than intended.
Diff
diff --git a/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.md b/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.md index 1840cf14a..e2f0c5737 100644 --- a//AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.md +++ b//AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.md @@ -157 +157 @@ Note the following: - * **Special characters** – If the URL for your resource contains an asterisk (`*`) or question mark (`?`) character (for instance, in the object key name), you must URL-encode those characters (`%2A` for `*` and `%3F` for `?`). This is because CloudFront interprets unencoded `*` and `?` characters as wildcard characters in the resource path. If these characters are not URL-encoded, the signed URL may grant broader access than intended. + * **Special characters** – If the URL for your resource contains an asterisk (`*`) or question mark (`?`) character (for instance, in the object key name), you must URL-encode those characters (`%2A` for `*` and `%3F` for `?`). This is because CloudFront interprets unencoded `*` and `?` characters as wildcard characters in the resource path. If these characters are not URL-encoded, the signed URL might grant broader access than intended.