How to secure files using php-login-minimal -


i believe i'm missing basic, instructions don't tell me how deal it. need basic log-in , found php-login-minimal here.

i have installed on windows server , works advertised, except files not secured. php files in c:\php installed these files. when go index.php can log-in. however, can access other files without logging in, going url.

what basic functionality (or setup) missing?

you try using .htaccess file.

i'm still relatively new @ this, in folders not want people able access use file named ".htaccess".

in notepad or similar program, open new file , place in following code:

<files ~ "\.(htaccess|php)$"> order allow,deny deny </files> 

when saving file, make sure in save dialog box have "save type" set "all files" , save file name ".htaccess".

place resulting file in folder not want access, , voila. no more access.