Binary files world-readable
With a rewrite rule setup like the one above, binary files (in var/storage/original) will be world-readable (unless you protect them in another way). This can be a serious security risk.
Isn't it better to replace
Rewriterule ^/var/[^/]+/storage/.* - [L]
with more specific rules?
Rewriterule ^/var/[^/]+/storage/images/.* - [L] Rewriterule ^/var/[^/]+/storage/images-versioned/.* - [L] Rewriterule ^/var/[^/]+/storage/images/.* - [L]
The same counts for
Rewriterule ^/var/storage/.* - [L]
Comments (1 historical)
Written by readers of the earlier documentation sites, kept as they were.
Re: Binary files world-readable
bjoern ·
we do store passwords in images :-)
serious security risk is also to expose images... I think we are doomed now... LOL
You can`t simply findout about binary files since you do not know their name MD5.
But you can find out about images if you just look on how they are stored with the path names all over.