# «Restrict Files» plugin. Sell a digital content on your Discourse forum! (version 1.2.1, 2015-07-19)

**URL:** https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775
**Category:** Marketplace
**Created:** [8 juni 2015 om 16:23 UTC](https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775 "2015-06-08T16:23:08Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [8 juni 2015 om 16:23 UTC](https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775/1 "2015-06-08T16:23:08Z")

</div>

**Live example here** : [«Restricted Files» plugin (version 2.1, 2016-12-11) - Discourse Plugins](http://discourse.pro/t/33)

The «Restrict Files» plugin allows you to restrict access to downloads (attached files) so only users of permitted groups can download files from your Discourse forum.  
So you can sell digital content through your Discourse forum.  
To receive payments from your customers you can use my another Discourse plugin «[PayPal Buy Now](https://meta.discourse.org/t/paypal-buy-now-plugin-monetize-your-discourse-forum/29701/)».  
Also you can offer your digital content for free, but only to members of permitted groups / trust levels.  
So you can motivate your forum members to achieve the specified trust level to gain access to the downloads.

### Version history

2015-06-08 [Version 1.0](https://discourse.pro/t/topic/33)  
2015-06-29 [Version 1.1](https://discourse.pro/t/topic/33/2)  
2015-07-02 [Version 1.2](https://discourse.pro/t/topic/33/3)  
2015-07-19 [Version 1.2.1](https://discourse.pro/t/topic/33/4)

### See also my other plugins:

- [«Paid Membership» plugin with PayPal integration!](https://meta.discourse.org/t/paid-membership-plugin-with-paypal-integration-version-1-0-2015-07-11/30972)
- [PayPal «Buy Now» plugin: monetize your Discourse forum](https://meta.discourse.org/t/paypal-buy-now-plugin-monetize-your-discourse-forum-version-2-0-2015-06-17/29701)
- [Image Gallery plugin: working and supported!](https://meta.discourse.org/t/image-gallery-plugin-working-and-supported-version-1-0-2015-06-11/29874)
- [«Real Name» plugin](https://meta.discourse.org/t/real-name-plugin-version-2-0-2015-06-26/30487)
- [Table plugin: insert tables to the Discourse posts](https://meta.discourse.org/t/table-plugin-version-1-0-0-2015-07-19/31183)

The full plugin list is always here: [https://discourse.pro/c/plugins](https://discourse.pro/c/plugins)

## How it works (some screenshots)

### 1. A case with an anonymous visitor

 ![](https://global.discourse-cdn.com/meta/original/3X/a/f/af6253854ec7cb1ccf74c5eec7d28c54163c0537.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/4/c/4cfd55146b58613c4c8cd1af55dca6892b657e26.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/4/3/43890ce5efe30431de468b696e8f6fd28c973d36.png) 

![](https://global.discourse-cdn.com/meta/original/3X/4/d/4dafc1b5c2db83de814c613eae5214f82e354316.png)

### 2. A case with a registered but not willing to pay forum member

 ![](https://global.discourse-cdn.com/meta/original/3X/d/0/d04ad88457c40f4d265bd472100e3272d0692be6.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/f/4/f4821da863583de67cdb87024bd666db71a09f2b.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/4/8/48431f4a7602002468a6e12fa82228b0c0dd0ef8.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/2/e/2e99a22d744d63631622d6744b349d0e6b1a9c7c.png) 

![](https://global.discourse-cdn.com/meta/original/3X/8/7/87a30fde3e9022aed5a597f14cea32a01a9cdf3c.png)

### 3. A case with a paid forum member

 ![](https://global.discourse-cdn.com/meta/original/3X/c/8/c8390c0910f0b3b3fef501844e25cdf4914f514b.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/a/e/aeafdee37e0cd6b4f6803dc09436960058925246.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/0/1/019ec09c16e66edb29ba848215176bc03061467c.png) 

## How to setup

### Create a group

 ![](https://global.discourse-cdn.com/meta/original/3X/0/b/0b621a88b335e962e16cba6f650a91c0ef8ce90b.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/b/7/b7d3a0af6f506ecde74d6f6b8cbe18b74cf6b585.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/2/7/2730d531a584d35f73d28662666a0b8895974836.png) 

### … or use an automatic group for a trust level

 ![](https://global.discourse-cdn.com/meta/original/3X/8/9/8936159105611963645726741e5fcb5b87aab77d.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/0/b/0b65083bde589321ec30a6c1196386745fdc880d.png) 

### Add the paid customers to the group with download access

#### … either from the group page

 ![](https://global.discourse-cdn.com/meta/original/3X/c/9/c916c2603bd12733fe1b53411b6ddec175fa0166.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/1/4/142fd3df7c302f5a67de4f2fec889ea06b64af54.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/e/8/e897047e647af3ff65c7547909f2b22751ed134b.png) 

#### … or from a customer page

 ![](https://global.discourse-cdn.com/meta/original/3X/b/b/bbe38ebecd8bdb42cafb3638a81a80ac0070d4f9.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/8/e/8e81c43fc6179db1295fd36ea9863f95f3d0b4b5.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/9/a/9a1af1d617e13532bdbec23d7f5b1edab137700f.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/0/d/0d43aeefba9df27a48b04718556b5771f35e9994.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/d/e/de1ed06297ef94b62979de2549bfdd02d6a87a54.png) 

### Adjust the «Restrict Files» plugin settings

 ![](https://global.discourse-cdn.com/meta/original/3X/0/b/0bdcfecae64891dde5fd07b38576e9fc6daeab61.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/7/e/7eedab22c2115171aaef9dc2bf34a59d2f1425a1.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/f/6/f61a092ffd48a662b3ebcba75e58ffd34d8812aa.png)

---

<div class="post-metadata">

### Author: ![dev221117](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dev221117](https://meta.discourse.org/u/dev221117)
#### Post date: [11 juni 2015 om 13:51 UTC](https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775/2 "2015-06-11T13:51:50Z")

</div>

It looks like a neat plugin for forums selling stuff, but try using less images to get your point across. 😉

---

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [29 juni 2015 om 10:44 UTC](https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775/3 "2015-06-29T10:44:04Z")

</div>

[Version 1.1](https://discourse.pro/t/topic/33/2) is out!  
Admin interface has been improved.  
Now, the access control list suggests user groups automatically:

 ![](https://global.discourse-cdn.com/meta/original/3X/1/2/12258a6d8359804a1deaf3d565bac4f814c7d867.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/2/c/2c75f85daa1c95ddcb1c92bebafd20e56c912a8f.png) 

 ![](https://global.discourse-cdn.com/meta/original/3X/8/d/8d126f288f28684c79a00d4d989d7d80013061d3.png)

---

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [2 juli 2015 om 05:50 UTC](https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775/4 "2015-07-02T05:50:02Z")

</div>

[**Version 1.2 is out!**](https://discourse.pro/t/topic/33/3)  
Admin interface has been improved.  
Now, the messages for unauthenticated and unauthorized users can be edited in WYSIWYG editor with support for HTML tags, BBCodes and Markdown:

 ![](https://global.discourse-cdn.com/meta/original/3X/c/8/c8499d29a2fa3ba7dd1667d76a29ce9a792daacc.png)

---

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [19 juli 2015 om 00:41 UTC](https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775/5 "2015-07-19T00:41:49Z")

</div>

Version 1.2.1 is out.  
The plugin has been updated [to be compatible](https://meta.discourse.org/t/image-upload-is-broken-in-1-4-beta-5/31154/5) with the upload changes introduced in Discourse [`v1.4.0.beta5`](https://github.com/discourse/discourse/releases/tag/v1.4.0.beta5) and [`v1.4.0.beta6`](https://github.com/discourse/discourse/releases/tag/v1.4.0.beta6).

---

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [17 augustus 2015 om 00:17 UTC](https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775/6 "2015-08-17T00:17:53Z")

</div>

[Version 2.0 is out!](https://discourse.pro/t/topic/33/5)  
Now, the plugin logs all the download events for the restricted files.  
The report is avaliable for forum administrators with information about download events:

- time
- file
- customer
- forum topic

 ![](https://global.discourse-cdn.com/meta/original/3X/c/d/cd58635b2ef810f06b2595af21265cf11aece071.png)

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [24 september 2015 om 08:26 UTC](https://meta.discourse.org/t/restrict-files-plugin-sell-a-digital-content-on-your-discourse-forum-version-1-2-1-2015-07-19/29775/7 "2015-09-24T08:26:24Z")

</div>

This topic was automatically closed 38 days after the last reply. New replies are no longer allowed.
