# Attachment / Upload email links now throw 404 if not logged in (SSO)

**URL:** <https://meta.discourse.org/t/attachment-upload-email-links-now-throw-404-if-not-logged-in-sso/55719>\
**Category:** Bug\
**Created:** [Janeiro 13, 2017, 7:14pm UTC](https://meta.discourse.org/t/attachment-upload-email-links-now-throw-404-if-not-logged-in-sso/55719 "2017-01-13T19:14:51Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [Maio 22, 2017, 2:24pm UTC](https://meta.discourse.org/t/attachment-upload-email-links-now-throw-404-if-not-logged-in-sso/55719/8 "2017-05-22T14:24:21Z")

</div>

I did not fix this particular bug. What I did was show a _nicer_ 404 page (as opposed to blank page) when trying to access an attachment as anon.

> [@wesochuck](#):
>
> Our site doesn’t allow you to do anything until you’ve logged in.

Okay, so I believe you have “login required” setting enabled? If yes, an anonymous user can’t view/download that attachment because they are not logged in.

---

_[View the full topic](https://meta.discourse.org/t/attachment-upload-email-links-now-throw-404-if-not-logged-in-sso/55719)._
