Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Protect Publisher Files From Hotlinking

Status
Not open for further replies.

kmccormick2008

Programmer
Dec 17, 2007
2
US
I have a PHP/MySQL subscription database where users are given access to MS Publisher files. What is the best way to protect Publisher files so that only authenticated users get them?

I currently have all of my Publisher files one directory higher than my webroot on my server so that no one can hot link to them. I am trying to use PHP to open the Publisher file and it appears that the Publisher HTML files are a redirect and it makes it difficult to open using the PHP readfile() function.

Any suggestions would be great!

Regards,
Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top