CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
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.
You could install WordPress in a sub-directory of the static site. This way, you will get the best of both worlds. If you have never done a private user area, I think a plugin will be your best bet.
Good Luck and Cheers!
Just an update, resolved this via htaccess, short and sweet.
Found this link very helpful for anyone else that wants to know… http://www.htaccesstools.com/htaccess-authentication/
Create a table in a database called admin, if the username and password entered in the form match the one in the database:
Create a cookie and redirect to the admin area. To prevent unauthorized access you can check if the cookie is set on the admin pages.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed