if you are using apache you can use the files directive/container to dictate which files to show, you can also setup mod_auth to prompt for credentials via an htaccess in the folder or directory directive within your httpd.conf
if you are using IIS, you can install IISpassword to simulate mod_auth via .htaccess, .htgroups, .htpasswd files... also for only displaying PDFs, set the default document on the dir to index.php only, and inside index.php crawl the directory for PDF files and dump the results as links to the page... you will also have to remove directory browsing from that folder to keep people from seeing all the files