How to password protect a directory in cPanel

Description
  • Log into cPanel.
  • Go to Security section and click on Web protect option.
  • Click the folder you want to get protected in public_html.
  • Select checkbox for protection by password for the directory. Enter name for protected directory and click on Save button, when done. Directory will be protected and will require a password to enter through browser.
  • You need to create at least one user and assign them a password to access directory.
  • Go Back. Scroll down and go to create user section. Fill in the required fields and click on Add/Modify authorized user. The protected directory will have a user to access it. Repeat this process for more users (if required).
  • A lock button will be assigned to directory, meaning that it is protected by a password.

BACK TO HOSTING TUTORIALS

SSD WEB HOSTING PLANS

Tell Us About Your Needs—We'll Recommend The Right Plan

SSD CLOUD Unlimited
$1.89
month
  • Up to 5x Faster than regular Unlimited with Wordpress Add-ons + CPANEL
  • Get Started!
Professional SSD Reseller
$16.99
month
  • Built for users who require cPanel hosting account with unlimited sites
  • Get Started!
Enterprise SSD VPS
$25.99
month
  • High Traffic Businesses with Dedicated functionality and control, in cloud platform
  • Get Started!
DEDICATED SERVERS
$89.99
month
  • High Traffic with Dedicated Hardware and Root Access without compromising the performance.
  • Get Started!
SSD SEO
$15.50
month
  • Hosting that fits SEO company which needs more C-class IPs with SSD performance.
  • Get Started!
SSD BUSINESS
$19.99
month
  • Web hosting that fits for businesses with SSD performance/
  • Get Started!
BULK EMAIL
$26.99
month
  • Bulk Email without limitation (Opt-In Email only). Not intended for SPAM/SOLICITED Emails
  • Get Started!

What features we have?

We are focused on delivering excellent levels of services with fast and reliable web services

     Transfer to KVCHOSTING ?

  •  Free Domain Name or Name Transfer!
  •  Free Unlimited Site Migration!
  •  24/7 Proactive support


     New Account with KVC ?

  •  Host Unlimited Site & Bandwidth
  •  Build & Publish with SiteBuilder
  •  Free 200+ 1-click script installs
  •  Wordpress, Joomla and many more...


     WEB HOST FEATURES

  •  cPanel Version 100
  •  PHP 8 , Apache 2.4 , Nginx and MariaDB
  •  Softaculous 1 Click install 435 tools
  •  24/7 Proactive Support
  •  SitePad website builder
  •  Weekly Backups
  •  Imunify Malware scanner
  •  Fully SSD Servers
  •  Fully hardened Servers and Services


     OUR COMMITMENT

  •  99.9% Uptime Guaranteed
  •  24/7/365 Tech Support
  •  Fastest Respond Time
  •  No Setup Fee & No Gimmicks
  •  Affordable Hosting Plans
  •  Full Raid Servers (Raid 10)
  •  Get over $1000 in Free Extras
  •  Free over 2500 Website Templates
  •  No Setup Fee & No Gimmicks
  •  Affordable Hosting Plans
  •  Full Raid Servers (Raid 10)
  •  Free over 1000 Hosting Tutorials

2024 HOSTING REVIEWS

Our reputation of excellence is unmatched - we pride ourselves on being experts that our clients can depend on for whatever they need



(56 reviews)


(188 reviews)
award

(334 reviews)
award

(244 reviews)
award

(251 reviews)


(26 reviews)


(71 reviews)
award

(81 reviews)


(71 reviews)
award

(12 reviews)

Our Awards

2024 HOSTING ACHIEVEMENTS

We have received many awards in our 8+ years of providing web hosting service

Testimonials

.......................................................

  I almost never use the word "Perfect", but here I want to say KVCHosting service is PERFECT! Even though it has been only one year I have been a customer of theirs, I can still say KVCHosting is the best and Perfect, without any doubts. Thanks for your service and fast responds. If you care about Customer Service and Stability, KVCHosting is the ideal place for you 

.......................................................

Charles Griffith
Senior Marketing Manager

.......................................................


  KVCHosting provides affordable and reliable hosting services to small and medium-sized businesses across the globe. The company's broad portfolio of cloud, virtual, and dedicated servers includes SEO-friendly hosting packages backed by detail-oriented support. 


.......................................................


Christine Preusler
HostingAdvice

.......................................................


  I almost never use the word "Perfect", but here I want to say KVCHosting service is PERFECT! Even though it has been only one year I have been a customer of theirs, I can still say KVCHosting is the best and Perfect, without any doubts. Thanks for your service and fast responds. If you care about Customer Service and Stability, KVCHosting is the ideal place for you 


.......................................................


Charles Griffith
Senior Marketing Manager