Zubrag.com :: Forum

Programmers Lounge => PHP / MySql / Smarty Questions => Topic started by: siva on October 21, 2007, 11:23:23 PM



Title: PDF file Protection
Post by: siva on October 21, 2007, 11:23:23 PM
Hello all,


I am a biginner PHP Programmer. I have one probelm. Please read my problem & solve my problem please..........


In my website user create one account. He download some pdf files from my website & save those files into his computer. His account will expair after 15 days time. He can download & read as meny files he want with in the account activation period. once his account expair if he try to open those saved pdf files from his computer can't be open. if he try to open also he has to get error message like this: "Your Account Expaired. You can't open this file".


This is my problem. can anybody feel free to provide me PHP source code pleeeeeeeeeeeeeeeeeeease.


Thank you
Sivaram


Title: Re: PDF file Protection
Post by: zubrag on October 22, 2007, 04:54:09 AM
Hi. Unfortunately PHP cannot put a restriction on files downloaded to user's computer.
Maybe there are some features/options in Acrobat to solve your problem. Ask this question on some forum where Acrobat is discussed.