|
Posted by SOR on 07/17/05 19:33
<comp.lang.php , Philip Herlihy , foof8501@herlihy.eu.veil.com>
<dbe0qt$kdl$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com>
<Sun, 17 Jul 2005 16:26:05 +0000 (UTC)>
> I haven't even started learning PHP yet (although I've skimmed a book!). I
> want to add a small number of password-protected pages to a website
> developed by someone else. I'd be really grateful if any experienced user
> could let me know (in outline) what would be the best approach.
>
> My guess is that it isn't enough to have everything in a page, and set it to
> die if the password is wrong, as you could view the source and get the info
> that way.
>
> I thought I'd ask the ISP involved if there are "private" folders available
> and have a script store both the password and the sensitive info there,
> accessing it if the password is matched.
>
In your web hosting control panel - there will be a option to password
protect a directory .
Password protect a folder with yourself as the admin & then just
add/create more usernames and passwords in the control panel as needed .
Navigation:
[Reply to this message]
|