Will Directory Password Protection Impact On Viewing Web Pages In Browsers?

Dushy Squirt

Member
Mar 7, 2013
13
0
1
cPanel Access Level
Website Owner
Hi,

Would anyone please be able to assist a newbie with some basic info on password protecting directories on my website?

If I set password protection on directories using the cPanel security utitity, will people visiting the web pages on my site using a browser need to have the password or will they be able to access the web pages without noticing the actual directory where the pages reside are password protected?

Thx
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
If you password protect a directory called dushy/ no one can access it without the password.

If you password protect dushy/ but have placed images in there, say, dushy/images/, and you link to those images on your main website, domain.com, every time your main webpage is opened by anyone at domain.com it will call images from domain.com/dushy/images/imagenamehere.jpg and your users will get the password popup.

Depending on server security if any user tries logging into that password protection and can't, they may be blocked by the firewall. You'll need to speak with your Hosting Provider or Server Administrator to find out more about that I would think.
 

Dushy Squirt

Member
Mar 7, 2013
13
0
1
cPanel Access Level
Website Owner
Infopro,

Thx for the reply.

One last question if I may?

I have an audio/video player enbedded in a web page that will be stored in a password protected folder. This player accesses a stream from a streaming host provider from their streaming server, will the stream be blocked from being called by the player from the streaming server?

Thx
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
No. If you have password protected /myvideo/ directory, and in it you have an index.html that has the code to display the video, that directory and that index.html are blocked from access without password. If you have the password and access the page, the video will be called normally.
 

Dushy Squirt

Member
Mar 7, 2013
13
0
1
cPanel Access Level
Website Owner
Infopro,

Thank you for your help, I have setup the password protection on directories and it is working OK.

Apologies, I did say above that it was my last question but I now have another question if I may?

I have setup 6 users each with their own credentials, ie, different username and different password for each of them. Is there an option to restrict one user to one login at a time? If a user divulges their credentials to a non configured user then that would allow two logins under the same ID, can this be blocked or will one of the cPanel logs show up this type of activity?

Thx
 

Dushy Squirt

Member
Mar 7, 2013
13
0
1
cPanel Access Level
Website Owner
With the password protected directories, I am only being requested to provide the login details once, ie, 1st visit to the web site. Subsequent visits to the same web page do not result in me getting asked for credentials. I have tried clearing out cookies and temporary files from my local PC browser both manually and with CCleaner but I still do not get asked for credentials.

Is there a setting that I can configure in cPanel whereby credentials are asked for on every visit by a user?

Thx