iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar 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.

Share Thread: & Tags

Share Thread:

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: 125
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
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Essex, UK
Posts: 1,289
dharrison RepRank 4dharrison RepRank 4dharrison RepRank 4
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
Reply With Quote
  #3 (permalink)  
Old 02-16-2006, 03:39 PM
WebProWorld Pro
 
Join Date: Jul 2004
Location: Irvine, CA
Posts: 125
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: 358
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

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

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



All times are GMT -4. The time now is 08:50 PM.



Search Engine Optimization by vBSEO 3.3.0