suren Posted April 6, 2006 Share Posted April 6, 2006 I have created a pdf using FPDF class .Is it possible to lock the PDF document and giving access rights using PHP. Link to comment https://forums.phpfreaks.com/topic/6719-pdf-generation-using-php/ Share on other sites More sharing options...
Barand Posted April 6, 2006 Share Posted April 6, 2006 [code]<?phpif ($is_authorized_to_view_pdf) { # generate PDF}else { # don't}?>[/code] Link to comment https://forums.phpfreaks.com/topic/6719-pdf-generation-using-php/#findComment-24591 Share on other sites More sharing options...
suren Posted April 7, 2006 Author Share Posted April 7, 2006 [!--quoteo(post=362358:date=Apr 6 2006, 03:46 PM:name=Barand)--][div class=\'quotetop\']QUOTE(Barand @ Apr 6 2006, 03:46 PM) [snapback]362358[/snapback][/div][div class=\'quotemain\'][!--quotec--][code]<?phpif ($is_authorized_to_view_pdf) { # generate PDF}else { # don't}?>[/code][/quote]That's fine, but I want to open the document and make it as readonly.That is no one can change the content of the PDF document with any of the PDF document editing tool.How to enable the readonly option. Is it possible through PHP.Thanks Link to comment https://forums.phpfreaks.com/topic/6719-pdf-generation-using-php/#findComment-24671 Share on other sites More sharing options...
zq29 Posted April 7, 2006 Share Posted April 7, 2006 Have you looed through the FPDF reference manual? All of its functions and classes are documented in there. Link to comment https://forums.phpfreaks.com/topic/6719-pdf-generation-using-php/#findComment-24683 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.