I have a client that wants users to access a private area on their HTML website to download resources.
Just wanted your advice on what the best solution would be to set this up.
My knowledge in PHP is pretty poor.
We have also spoke about moving their website over to a CMS such as wordpress. Would this be easier to do with WordPress via a plugin, or is it just as easy to implement on a static HTML site?
Any advice would be greatly appreciated.
I think in your case the easiest way would be createing a htpasswd file.
Put
.htaccessfile inside a directory you wish to be private and write:and in
.htpasswdwrite the user and crypted password:PS: This stands for the password admin