Skip to main content

Dev environment

Comments

3 comments

  • cPanelMichael
    Hello :) Do you intend to require authentication before a website is accessible? If so, you could use the following option from within cPanel: "cPanel >> Security >> Password Protect Directories" Thank you.
    0
  • bsaverino
    Great suggestion this is exactly what I was looking for. Is there way to preset a lock on public_html in the WHM settings?
    0
  • cPanelMichael
    You could setup a post account creation hook that utilizes our API to enable the password protection option. There is an older thread about this here, but it should give you a general idea on how to get started if it's something you wanted to pursue: Setup password protected directories using API Thank you.
    0

Please sign in to leave a comment.