![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Serve icons from i.dreamwidth.org subdomain
Title:
Serve icons from i.dreamwidth.org subdomain
Area:
icons, security, making things make sense
Summary:
Start serving icons from i.dreamwidth.org (or another reserved subdomain) instead of www.dreamwidth.org/userpic/.
Description:
"Userpic" is being phased out, and "icon" is being adopted (though it will probably take years for some of us to get used to it).
felicity_ in IRC pointed out that there are security reasons to prefer images being served from their own subdomain.
Dreamwidth has thoughtfully reserved single-letter subdomains, and in any case 'icons' is a community in active use, and 'icon' is a community as well (albeit private and unused by its creator). 'i' is a shorter subdomain in any case.
On the face of it it seems like making the change and going forward with it is probably a very good thing.
It would disrupt legacy links that people have made in the past to their icons (though service is in beta, luggage may shift during flight) unless backwards compatibility is put in. I don't know whether the security implications of user images served off the main domain applies if there's a redirect from the main domain to a subdomain.
This suggestion:
Should be implemented as-is.
20 (38.5%)
Should be implemented with changes. (please comment)
3 (5.8%)
Shouldn't be implemented.
0 (0.0%)
(I have no opinion)
28 (53.8%)
(Other: please comment)
1 (1.9%)
no subject
no subject
A part of me thinks they should be served from each journal subdomain anyway, my content afterall, so matgb.dreamwidth.org/icons/ICONIDSTRING would work for me.
no subject
no subject
Security through obscurity never did anyone any good, and I find it a trifle worrying that Dreamwidth is not being tremendously transparent on this matter.
As best I understand it, the security concern involves cookies. Fetching data from a /userpics/ directory requires the domain cookie to be transmitted for each picture, increasing the risk of it being compromised. Fetching data from a specific iconography subdomain would only jeopardise the cookie for that icon subdomain. As these are freely-available pictures, cookies can quite reasonably be done away with.
It is likely that this approach could also offer marginal speed gains; these alone may not outweigh the cost of migration. Re-writing the source code to abolish cookies entirely may be an unreasonably large task for this suggestion.
Again, the above is what I think is the most likely security concern. This summary may be completely and utterly inaccurate.
no subject
no subject
no subject
no subject
no subject
no subject
no subject