https://github.com/rbeer/nodebb-plugin-expiring-uploads
Plugin for NodeBB, hiding uploads behind an expiring hash
https://github.com/rbeer/nodebb-plugin-expiring-uploads
Last synced: 3 months ago
JSON representation
Plugin for NodeBB, hiding uploads behind an expiring hash
- Host: GitHub
- URL: https://github.com/rbeer/nodebb-plugin-expiring-uploads
- Owner: rbeer
- License: mit
- Created: 2015-07-08T02:03:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-06T17:26:42.000Z (about 9 years ago)
- Last Synced: 2025-02-27T12:39:45.017Z (3 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# nodebb-plugin-expiring-uploads
### Hide and expire users uploads.
The name actually only tells half the story. This plugin lets you:1. Hide uploads of definable filetypes behind a hash/timestamp/filename combination. Uploads are not stored in the standard path (public/uploads). This ensures, that even when the filename is known, it's pretty hard to guess its location.
2. Set an expiration time(range) for those hash/timestamp/filename urls. Every setting > 0 will have uploads handled by this plugin expire.
**PLEASE NOTE**: Expiration is calculated at request time. If you uploaded a file 7 days ago and now decide to lower the expiration time from 10 to 5 days, this file will be treated as expired.
## Installation
1. `npm install nodebb-plugin-expiring-uploads`2. Activate the plugin in the ACP.
3. Adjust the settings! Standard expiration time is 0 = uploads never expire.