Skip to content

Instantly share code, notes, and snippets.

@wouterd
Created September 5, 2013 13:44
Show Gist options
  • Save wouterd/6450303 to your computer and use it in GitHub Desktop.
Save wouterd/6450303 to your computer and use it in GitHub Desktop.
Rewrite rule to disallow GET parameters for .swf files (shockwave flash)
# SWF's with GET parameters are not allowed (bad request)
RewriteCond %{QUERY_STRING} !^$
RewriteRule ^/.*\.swf$ - [F]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment