Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-16-2006, 02:09 PM
WebProWorld Pro
 

Join Date: Jul 2004
Location: Irvine, CA
Posts: 122
spenland RepRank 0
Default Password Protect PDF directory?

Hi guys, I have a user management script that I'm using to protect some sensitive pages for outside distributors of my companies product. Everything works fine except I can't figure out how to protect PDF's from being seen. I would like to have it so you cannot type in the PDF into the location bar. Is this possible? How do you protect a pdf directory?
Reply With Quote
  #2 (permalink)  
Old 02-16-2006, 03:11 PM
dharrison's Avatar
Moderator
WebProWorld Moderator
 

Join Date: May 2005
Location: Essex, UK
Posts: 1,460
dharrison RepRank 3dharrison RepRank 3
Default

hi Spenland

Can you elaborate. Do you want a password for the PDF files(s) online or on local network/PC?
__________________
Deb Harrison
DVH Design
Essex Web Design | Web Design Blog
Reply With Quote
  #3 (permalink)  
Old 02-16-2006, 03:39 PM
WebProWorld Pro
 

Join Date: Jul 2004
Location: Irvine, CA
Posts: 122
spenland RepRank 0
Default

This is going to be live on the internet. So for example is someone went to:

www.mysite/pdf/mypdf.pdf

they would be routed to the login script

www.mysite/login.php
Reply With Quote
  #4 (permalink)  
Old 02-17-2006, 03:32 AM
southplatte's Avatar
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Colorado
Posts: 381
southplatte RepRank 1
Default

You should be able to use .htaccess to redirect the user to the login and once verified allow access to the directory.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0