Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Password protect individual files
I’m trying to figure out how to swing permissions (via ign_password_protect / rvm_privileged / .htaccess / whatever) on a site where one can log in to access a particular file (a video file stored in content:files).
Each video file needs a unique log-in, which will be used by multiple users to view the video file…
…and the logins need to be easily managed on a regular basis by the client.
Any ideas?
Thanks.
Offline
Re: Password protect individual files
giz wrote:
Each video file needs a unique log-in, which will be used by multiple users to view the video file…
If you’re willing to approach this slightly differently, you might consider smd_access_keys. You can use that to protect each file (or Page containing the file) with a unique key (a.k.a. URL) , which can then be disseminated to as many users as you like. Anyone with that key can view/download that file only.
There are also options to restrict the key so it expires after a certain time limit or usage count has been reached (expiry time available in the next version).
It might not be what you’re after, but it sounds like it might be something worth considering, depending on your workflow and users.
Last edited by Bloke (2012-01-22 22:16:43)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Password protect individual files
Thanks Stef. smd_access_keys sounds just what I’m looking for.
Note to self: next time, before you ask for help on the forum, whatever the issue – do yourself a favor and have a look at Stef’s plugins. Odds are, the solution lies there.
Offline
Pages: 1