rotecting pages/folder with php

1 replies
hey guys, i need your help please...

I am in the process of finishing a site and I need to password protect one page that has some downloads on it. I only need one login and password, that can be changed easily.

What is the best way to do this?

Should I put them all into one folder and protect the folder?

I would think this might make more sence so people couldn't find the downloads any other way.

Is there anything I'm missing that I should add to a dcript like this? Like loging out option, etc...

Any help you can offer me would be greatly appreciated.


thanks in advance
#pages or folder #php #rotecting
  • Profile picture of the author johnnyN
    yes protect the folder, and put all the downloads as well as the html page in that folder.

    use your cpanel to protect a folder, google "password protect directories with cpanel"
    {{ DiscussionBoard.errors[4573729].message }}

Trending Topics