Jump to content
  • 0

Password Protect the Admin Directory


shay75

Question

Add a second layer of protection to the admin directory by setting up .htaccess password protection. Most users can do this via the Password Protect Directories option in cPanel. Remember to keep your .htaccess username/password distinct and unique.

________________________________________________________________________

 

I do not have cPanel

I have Direct Admin

 

How do I do that Direct Admin? Or what code I put in .htaccess ?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

ht authentication uses session cookies to keep track of the authenticated session. You would need to expire the session when the admin leaves the admin area this isn't impossible but it may not be practical in a production environment.

 

It will soon become a mind numbing chore to have to authenticate every single time you return to the admin area. For occasional use sure its viable, but as your client base grows you are going to be in and out of the admin area a great deal.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated