3 ms·
It's not foolproof, but I think one common way is for the static-content server to check for an appropriate authentication cookie. In Facebook's case, an additi
by _delirium 17y ago
It's not foolproof, but I think one common way is for the static-content server to check for an appropriate authentication cookie. In Facebook's case, an additional complication is that they serve lots of the static content off Akamai, so any authentication would have to be coordinated.
- maurycy 17y agoThe cookie slows down the things a bit. I've never had such problem but what about complete randomization of static URLs, so they are not easily findable? If the leaks are the issue, one might want to change the names, or just filesystem symlinks, periodically.
- chronomex 17y agoPlus the domain name is completely different: all static content is served from subdomains of .fbcdn.net (and frequently of .ak.fbcdn.net).