hi

i've just startet to build up my own (tiny) webpage.

within that page i want to have a password protected area including files!

so far i managed to ask visitors for a password and then leading them to protected pages via form, check.php and include welcome.php

within welcome.php i want to offer links to some pdf-files.

but once someone got that links he can bypass my password form by simply typing the link into the browser's address field.

how can i protect my files, that people can only access them by filling my password form?

thanks in advance

marek

    if you want to protect files as well, you'll need to use .htaccess to protect a directory and everything in it... are you on a shared server, and if so, what kind, is there any control panel at all? most control panels on shared servers have some sort of .htaccess utility

      Or if it is a PHP (and session) based password protection.
      You could put the files in a directory not readable to the outside world and then use PHP to deliver the file.

        its a free server and i cant see anything about htaccess.
        i'll try figuring out the php-delivering with not readable directories.

        thanks for your help,
        any more ideas are welcome 🙂

          Write a Reply...