{"id":28956,"date":"2020-05-18T16:44:31","date_gmt":"2020-05-18T20:44:31","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28956"},"modified":"2020-07-30T16:31:53","modified_gmt":"2020-07-30T20:31:53","slug":"security-theatre-in-safari-download-permissions","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/05\/18\/security-theatre-in-safari-download-permissions\/","title":{"rendered":"Security Theatre in Safari Download Permissions"},"content":{"rendered":"<p><a href=\"https:\/\/pxlnv.com\/linklog\/safari-downloads-security\/\">Nick Heer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/pxlnv.com\/linklog\/safari-downloads-security\/\"><p>Twitter&rsquo;s URL shortener works by creating <a href=\"https:\/\/en.wikipedia.org\/wiki\/HTTP_301\">301 redirects<\/a>, but Safari apparently doesn&rsquo;t follow those to their destination URL. In some cases, that probably makes sense &mdash; large file downloads are often hosted on <a href=\"https:\/\/www.cloudflare.com\/learning\/cdn\/what-is-a-cdn\/\">CDNs<\/a> with inscrutable addresses. It does, however, mean that however this is supposed to benefit security or privacy is easily defeated if downloads are redirected through common URL shorteners.<\/p><\/blockquote>\n\n<p id=\"security-theatre-in-safari-download-permissions-update-2020-07-30\">Update (2020-07-30): <a href=\"https:\/\/twitter.com\/jleedev\/status\/1273656033047707648\">jleedev<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/jleedev\/status\/1273656033047707648\">\n<p>It probably doesn&rsquo;t change Safari&rsquo;s behavior at all, but Twitter&rsquo;s URL shortener uses a meta refresh & location.replace call, not a 301 redirect.<\/p>\n<p>Looks like it sniffs the user agent[&#8230;]<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Nick Heer: Twitter&rsquo;s URL shortener works by creating 301 redirects, but Safari apparently doesn&rsquo;t follow those to their destination URL. In some cases, that probably makes sense &mdash; large file downloads are often hosted on CDNs with inscrutable addresses. It does, however, mean that however this is supposed to benefit security or privacy is easily [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-05-18T20:44:34Z","apple_news_api_id":"1b3f7caf-9b75-4c74-bff3-eb944770b932","apple_news_api_modified_at":"2020-07-30T20:31:56Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AGz98r5t1THS_8-uUR3C5Mg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[30,1666,103,48,49,96],"class_list":["post-28956","post","type-post","status-publish","format-standard","hentry","category-technology","tag-mac","tag-macos-10-15","tag-safari","tag-security","tag-twitter","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=28956"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28956\/revisions"}],"predecessor-version":[{"id":29646,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28956\/revisions\/29646"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}