Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
Is there any way to create a system whereby an admin can upload files to Couch and then place a link to that page behind a password such that the file could be downloaded only by those with the the password.

The crux of the problem is that there would need to be a different password for each page such that multiple download links could be placed on a page and each separate page is controlled by a separate password...

Would it be easiest to simply create a new basic user account for each page...?
Couch has a 'cloaked links' feature (http://www.couchcms.com/docs/concepts/c ... links.html) using which you can ensure that only logged-in users can download the linked files. However, there is no provision to have different passwords for different pages, I am afraid.
Shame... Many thanks...
The simple way to do this would be to create a user for each page like you suggested, then give that username and password to everyone who needs access to the page. For a small project, this can work, but there are obvious problems with that approach. You need a separate email for each user account you set up. Your group of users can’t change the password or use the “forgot password” feature. And what do you do when someone needs to be removed from the group?

There are good reasons that a shared password is not a common security practice.

What I would recommend instead is that you give every user their own login, then control which users have access to which pages. The new extended users module makes this relatively simple. viewtopic.php?f=5&t=8581

So instead of a secret handshake, you have a bouncer at the door with a list of those to be admitted.
4 posts Page 1 of 1
cron