Skip to main content

.htaccess authentication via domains email account usernames & passwords

Comments

6 comments

  • Infopro
    Take a look at the Release Notes for cPanel 54, specifically the Subusers section to see if thats something that might work for you: 54 Release Notes - Documentation - cPanel Documentation
    0
  • brianjking
    Take a look at the Release Notes for cPanel 54, specifically the Subusers section to see if thats something that might work for you:
    0
  • brianjking
    It looks like the passwords are hashed for site.com in
    /home/site.com/etc/shadow
    .
    0
  • cPanelMichael
    However, what I'd like to have is the .htaccess file for training-for-site.com authenticate against email addresses and passwords for site.com.

    Hello :) You could create multiple users and force authentication to a specific URL via the "Password Protect Directories" feature (named "Directory Privacy" in the Paper Lantern theme) in cPanel: Password Protect Directories - Documentation - cPanel Documentation Thank you.
    0
  • brianjking
    Hello :) You could create multiple users and force authentication to a specific URL via the "Password Protect Directories" feature (named "Directory Privacy" in the Paper Lantern theme) in cPanel:
    0
  • cPanelMichael
    There are no native features in cPanel/WHM that will allow you to combine/manage the "Password Protect Directories" feature for multiple cPanel accounts. However, you could develop a custom script that copies the contents of the /home/$username/.htpasswd file into the same location for the additional account at set times. Thank you.
    0

Please sign in to leave a comment.