Closed Bug 508298 Opened 16 years ago Closed 15 years ago

Do not allow other websites to embed images hosted on sumo

Categories

(support.mozilla.org :: General, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cilias, Unassigned)

Details

In bug 449440 comment 5, there's an htaccess script to only allow embedding of images when the referrer is sumo. That script has still not been implemented. (Will that script cause a problem on support-stage.mozilla.org?)
Jeremy, can you please comment here?
Yes, it looks like that htaccess change would cause problems on stage.
Target Milestone: 1.3 → 1.4
Can we then modify this for stage as follows, so on stage we'll add + + RewriteCond %{HTTP_REFERER} !^$ + RewriteCond %{HTTP_REFERER} !^https?://support-stage.mozilla.org/.* [NC] + RewriteRule ^/.*/img/wiki_up/.* - [F] + and on prod as in the original: + + RewriteCond %{HTTP_REFERER} !^$ + RewriteCond %{HTTP_REFERER} !^https?://support.mozilla.com/.* [NC] + RewriteRule ^/.*/img/wiki_up/.* - [F] + Reassigning this to Jeremy - we can do it on stage any time, and should apply on prod during the 1.4 push window which is anticipated to be Thursday 24th September.
Assignee: laura → jeremy.orem+bugs
Hmm, should we just commit this rule to htaccess: RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^https?://support(?:-stage)?.mozilla.org/.* [NC] RewriteRule ^/.*/img/wiki_up/.* - [F]
(In reply to comment #5) > Ping comment 4. Sorry I missed it. Nicely done, please do.
I'm not sure where this should be committed.
Assignee: jeremy.orem+bugs → nobody
Please reopen if this is still something we want to do, but if we have a goal to make more of our content accessible via APIs, then we're expecting other sites to use that content, including the images.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
These bugs are all resolved, so I'm removing the security flag from them.
Group: websites-security
You need to log in before you can comment on or make changes to this bug.