Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.8k views
in Technique[技术] by (71.8m points)

subdirectory - cPanel: Protect a directory with ALL ITS SUBDIRECTORIES with a password

I have a website with a secure directory public_htmlmy_protected_folder
I've added password protection for this directory using cPanel interfaces.

I also have a side process using FTP to add new sub-directories under the top one and these newly created sub-directories doesnt get password-protected.

Is there any way in cPanel to define the root directory to be protected in a way that will also affect all its sub-directories that will be created in the future?

Thanks.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...