# قفل التنزيلات في discourse

**URL:** https://meta.discourse.org/t/lock-downloads-in-discourse/165578
**Category:** Support
**Created:** [28 سبتمبر 2020، 6:09ص UTC](https://meta.discourse.org/t/lock-downloads-in-discourse/165578 "2020-09-28T06:09:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sushant098123](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sushant098123/32/164925_2.png) [@sushant098123](https://meta.discourse.org/u/sushant098123)
#### Post date: [28 سبتمبر 2020، 6:09ص UTC](https://meta.discourse.org/t/lock-downloads-in-discourse/165578/1 "2020-09-28T06:09:50Z")

</div>

مرحبًا، أود قفل التحميلات. عندما يحاول المستخدم تنزيل ملف مُرفق في موضوع، يجب أن يكون مسجّل الدخول. كيف يمكنني فعل ذلك؟

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [28 سبتمبر 2020، 6:44ص UTC](https://meta.discourse.org/t/lock-downloads-in-discourse/165578/2 "2020-09-28T06:44:44Z")

</div>

أعتقد أنك بحاجة إلى إعداد “وسائط آمنة”:

> [@Secure Uploads](https://meta.discourse.org/t/secure-media-uploads/meta/140017?u=merefield):
>
> Added in the [Discourse 2.4 release](https://meta.discourse.org/t/discourse-version-2-4/108194) in February is the Secure Uploads feature, which provides a higher degree of security for ALL uploads (images, video, audio, text, pdfs, zips, and others) within a Discourse instance. Prerequisites You must have S3 uploads enabled on your site, which needs the following settings to be filled: S3 access key id S3 secret access key S3 region S3 upload bucket You also must be using an S3 bucket that does not have a Public bucket policy, and you need to make su…

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [28 سبتمبر 2020، 8:07ص UTC](https://meta.discourse.org/t/lock-downloads-in-discourse/165578/3 "2020-09-28T08:07:22Z")

</div>

على حد علمي، تعكس عمليات تحميل الوسائط الآمنة التحكم في الوصول للمنشور الذي تم رفع الملف فيه.

لذلك، ما لم يكن:

- الموقع يتطلب تسجيل الدخول
- الموضوع موجودًا في فئة محمية
- الموضوع رسالة خاصة (PM)

فإن التنزيل سيكون متاحًا، تمامًا كما أن الموضوع متاح.
