• Hello,

    I want to set up a post with a gallery on my website that is only accessible to users who enter a username and password combination – I need about 250 username and password combinations.
    First attempt was to try membership plugins, although the free ones were ridiculously complicated and too much for little me. I would also be ready to buy a plugin, as long as its not expensive. I do not need the users to sign up, with email addresses and user accounts, I just want to give out a username and a password for every person individually.
    The only thing I need is to protect the post itself. Yes you might assume that the content is not protected then, but in cPanel, I played a little with hotlink protection and its working perfectly fine!

    Thank you in advance ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do you actually need each person to have their own username/password? I ask because if you’re not creating profiles or tracking access, what value is there in a username/password? Do you need to be able to remove access for a specific user only or give the same user access to multiple posts?

    If you just need to control access to posts, you could drop in unique passwords for each one you want to protect and then give out those passwords.

    Thread Starter 99user

    (@99user)

    Hello and thanks for the reply!

    My initial thought with username and password was that if there was one password, other people who should not have access would know the password pretty soon. With a username – every member has a number so the username is the number – I thought it would be more secure because people connect their number with responsibility to keep “their” account private.

    However, if that is not possible, unique passwords are fine as well. Is there a plugin that would make that work?

    Note: The page that should be password restricted is not some kind of super secret information so no worries about the security.

    Yes I could see people being more careful if they thought the username/password was unique to them.

    One other thought before giving up on your initial idea. Do you know if your server supports htpasswd files? If so, there are a number of online tools that can help you generate a list of username/password combinations which you can map to specific URLs.

    Thread Starter 99user

    (@99user)

    I use cPanel and I can see htaccess files. When I map them to specific URLS, does it work even though the actual file does not exist in the html folder?

    Yes htaccess stuff works against URLs and doesn’t require actual files to exist. Of course, test one or two before creating all 250 just to confirm. Not all servers support all htaccess/htpasswd functionality.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Protect post with username and password’ is closed to new replies.