Register to download

AI-generated summary

Register to download discussion revolves around restricting downloads/attachments to non-registered members. Webinsane initiated the conversation, seeking a solution to disable downloads for unregistered users. codinghorror suggested this feature could be supported in core, triggering a login prompt when clicking attachments. Webinsane aims to spark community growth by requiring registration to download CMS templates. tuananh mentioned a similar feature request, while Webinsane proposed alternative solutions, such as hiding download links or replacing attachments with login/signup prompts. Arta_S expressed interest in the feature, which codinghorror replied is partially available through the prevent anons from downloading files site setting, with more complex protection available through Secure Media Uploads.

We need to disable downloads/attachments (zipped files) to non-registered members. Searched but could not find a proper solution.

Great software and great community. We are setting up server so it can handle Discourse properly, but for now it is done deal the Discourse will be the platform for our new community.

4개의 좋아요

This is a good idea and sounds like something we might want to support in core as a flag to enable/disable download attachments unless you are a registered member.

I guess clicking the attachments with this flag set would trigger a login prompt?

Would also be safer from a bandwidth perspective, for sure.

7개의 좋아요

In our example we are giving CMS as open source on GitHub, but the actual CMS templates/HTML need forum registration to download. Something to spark new community growth :sunny:

I raise a feature similar to this where downloading attachment is used as an criteria in category permission aside create topic, view, etc… Someone replied that download is served by nginx directly now so its not possible.

Anything has changed?

I am not sure how direct download is problem if you replace attachment with login/signup.

I see that zip files are not supported in upload. Is this config setup or something that we will have to modify in order to attach zipped files? We could also hide links for download. Maybe that could be simpler solution for now.

같은 주제를 열려고 했어요. 이 기능이 정말 좋은 아이디어라고 생각해요. 이 주제가 올라온 지 거의 6년이 다 되어 가는데, 이미 배포된 건가요? 감사합니다.

가벼운 보호를 위해 비로그인 사용자의 파일 다운로드를 차단하는 사이트 설정 prevent anons from downloading files을 켤 수 있습니다. 서버 측에서 더 강력하고 훨씬 복잡한 보호를 원하시면 https://meta.discourse.org/t/secure-media-uploads/meta/140017를 참조하세요.

6개의 좋아요