473,804 Members | 2,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pdf manipulation

I have a client who would like to host a PDF on his site, but make it so
that each individual that downloads it has to open it with a separate
username and password. My question is if any php classes or libraries have
the capabilities to load an existing PDF into memory and basically add in
the login portion of it dynamically. Or, if anyone knows of a 3rd party
executable that can handle this, that would be great too.

--
thnx,
Chris Mosser
Jul 17 '05 #1
8 2554

"Chris Mosser" <cmosser_at_com cast_dot_net> wrote in message
news:2I******** ************@co mcast.com...
I have a client who would like to host a PDF on his site, but make it so
that each individual that downloads it has to open it with a separate
username and password. My question is if any php classes or libraries have the capabilities to load an existing PDF into memory and basically add in
the login portion of it dynamically. Or, if anyone knows of a 3rd party
executable that can handle this, that would be great too.

--
thnx,
Chris Mosser


Where are the usernames & passwords maintained ?
Just place the pdf in its own subdirectory and protect that directory with
the web server.


Jul 17 '05 #2


--
Chris Mosser
<xyzzy> wrote in message news:KJ******** ************@co mcast.com...

"Chris Mosser" <cmosser_at_com cast_dot_net> wrote in message
news:2I******** ************@co mcast.com...
I have a client who would like to host a PDF on his site, but make it so
that each individual that downloads it has to open it with a separate
username and password. My question is if any php classes or libraries

have
the capabilities to load an existing PDF into memory and basically add in the login portion of it dynamically. Or, if anyone knows of a 3rd party
executable that can handle this, that would be great too.

--
thnx,
Chris Mosser


Where are the usernames & passwords maintained ?
Just place the pdf in its own subdirectory and protect that directory with
the web server.


my client wants the people who download it to have to provide a password
when they try to open the file on their own computer...to help cutdown on
piracy

Chris Mosser
Jul 17 '05 #3

"Chris Mosser" <cmosser_at_com cast_dot_net> wrote in message
news:VM******** ************@co mcast.com...


--
Chris Mosser
<xyzzy> wrote in message news:KJ******** ************@co mcast.com...

"Chris Mosser" <cmosser_at_com cast_dot_net> wrote in message
news:2I******** ************@co mcast.com...
I have a client who would like to host a PDF on his site, but make it so that each individual that downloads it has to open it with a separate
username and password. My question is if any php classes or libraries

have
the capabilities to load an existing PDF into memory and basically add in the login portion of it dynamically. Or, if anyone knows of a 3rd party executable that can handle this, that would be great too.

--
thnx,
Chris Mosser


Where are the usernames & passwords maintained ?
Just place the pdf in its own subdirectory and protect that directory with the web server.


my client wants the people who download it to have to provide a password
when they try to open the file on their own computer...to help cutdown on
piracy

Chris Mosser


Well then, the PHP group cant help. Looks like you are buying software.
http://www.toppdf.com/encryptpdf/


Jul 17 '05 #4
On Tue, 16 Dec 2003 17:14:33 -0800, Chris Mosser wrote:

my client wants the people who download it to have to provide a password
when they try to open the file on their own computer...to help cutdown on
piracy


That won't stop piracy. Take a look on whatever napster clone /p2p
sharing network you like, and you'll find plenty of PDFs called things
like:

copyrighted_fil e_the_password_ is_openSe5am3.p df
Jul 17 '05 #5
Chris Mosser wrote:
<xyzzy> wrote in message news:KJ******** ************@co mcast.com...
"Chris Mosser" <cmosser_at_com cast_dot_net> wrote in message
news:2I****** **************@ comcast.com...
I have a client who would like to host a PDF on his site, but make it so
that each individual that downloads it has to open it with a separate
username and password. My question is if any php classes or libraries

have
the capabilities to load an existing PDF into memory and basically add inthe login portion of it dynamically. Or, if anyone knows of a 3rd party
executable that can handle this, that would be great too.


Where are the usernames & passwords maintained ?
Just place the pdf in its own subdirectory and protect that directory with
the web server.


my client wants the people who download it to have to provide a password
when they try to open the file on their own computer...to help cutdown on
piracy


I believe the folks at http://www.phparch.com/ do that with their
publication. Maybe drop a line in that direction to see if you can get
answers.

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Jul 17 '05 #6

"adamt" <ad***@ueterep. netvoss.co.uk> wrote in message
news:pa******** *************** *****@ueterep.n etvoss.co.uk...
On Tue, 16 Dec 2003 17:14:33 -0800, Chris Mosser wrote:

my client wants the people who download it to have to provide a password
when they try to open the file on their own computer...to help cutdown on piracy


That won't stop piracy. Take a look on whatever napster clone /p2p
sharing network you like, and you'll find plenty of PDFs called things
like:

copyrighted_fil e_the_password_ is_openSe5am3.p df


I know, but it's what my client wants to do. I think I found a way using
pdflib, but my testing server is using an older version the from the pdflib
docs that I read. If anyone is using a newer version of pdflib (5.0+ I'm
guessing) can you please try this:

$pass = $_POST['pass'];
$pdf = pdf_new();
pdf_open_file($ pdf, "some.pdf") ;
pdf_set_paramet er($pdf, "userpasswo rd", $pass);
I get an unknown parameter error but I am wondering if its just because my
server has pdflib 4.x.x and that parameter was not available then.
according to the pdflib manual, the parameter does exist.

can anyone help?????/////
--
Chris Mosser
Jul 17 '05 #7


"Justin Koivisto" <sp**@koivi.com > wrote in message
news:7p******** *******@news7.o nvoy.net...
Chris Mosser wrote:
<xyzzy> wrote in message news:KJ******** ************@co mcast.com...
"Chris Mosser" <cmosser_at_com cast_dot_net> wrote in message
news:2I****** **************@ comcast.com...

I have a client who would like to host a PDF on his site, but make it sothat each individual that downloads it has to open it with a separate
username and password. My question is if any php classes or libraries
have
the capabilities to load an existing PDF into memory and basically add

in
the login portion of it dynamically. Or, if anyone knows of a 3rd partyexecutable that can handle this, that would be great too.
Where are the usernames & passwords maintained ?
Just place the pdf in its own subdirectory and protect that directory withthe web server.


my client wants the people who download it to have to provide a password
when they try to open the file on their own computer...to help cutdown on piracy


I believe the folks at http://www.phparch.com/ do that with their
publication. Maybe drop a line in that direction to see if you can get
answers.

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

thnx, I'll check it out
--
Chris Mosser
Jul 17 '05 #8
Regarding this well-known quote, often attributed to adamt's famous "Wed,
17 Dec 2003 13:33:24 GMT" speech:
On Tue, 16 Dec 2003 17:14:33 -0800, Chris Mosser wrote:

my client wants the people who download it to have to provide a password
when they try to open the file on their own computer...to help cutdown on
piracy


That won't stop piracy. Take a look on whatever napster clone /p2p
sharing network you like, and you'll find plenty of PDFs called things
like:

copyrighted_fil e_the_password_ is_openSe5am3.p df


Well, make the password their credit card number (or some other similarily
sensitive info) and watch that problem vanish!

book_password_i s_MC-283791882738821 0-EXP-0907.pdf, anyone?

--
-- Rudy Fleminger
-- sp@mmers.and.ev il.ones.will.bo w-down-to.us
(put "Hey!" in the Subject line for priority processing!)
-- http://www.pixelsaredead.com
Jul 17 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6094
by: Marcus | last post by:
I am having some problems with trying to perform calculations on time fields. Say I have a start time and an end time, 1:00:00 and 2:30:00 (on a 24 hour scale, not 12). I want to find the difference in minutes, divide this result by a predefined size of interval, and make a loop that runs this many times. For example, with an interval size of 15 minutes, it will return 6 blocks... I have this all working fine, but am getting stuck on...
4
5444
by: Rune Johansen | last post by:
Hi. I'm doing some image manipulation in an applet using the example code on this page: http://www.akop.org/art/pixels3.htm However, I really want an application rather than an applet, I just can't figure out how to do the image loading and manipulation when it's not from inside an applet. Any hints on the subject are appreciated.
3
1870
by: Sam | last post by:
Hello, in my coding work I'm going to using a lot of matix manipulation, just basic matrix addition, multiplication, Gaussian method solving for roots, least square... But I don't know if there's a library which defines matrix and its manipulation. I know there must be one and it's somethere but I just have no experience. Thanks.
9
2598
by: I. Kobrinsky | last post by:
I'm new here. I started a personal password-program, a trial that includes username, logincounter and password. So my intention is to hide pwd while tipping. So I'm thinking about two popular ways to realize, like using cursor manipulation to backup & delete letters or otherwise to use getch to read them quetly. Maybe somebody here knows and will tell me about potentially dis-/advantages of each method. Meaning especially *intern*
9
2152
by: Job | last post by:
Hi, I would like to find out what ASP/ASP.net can do with image manipulation. Does ASP have built in functions (eg. after upload to server) to manipulate images, like rotate, scale, crop etc.? Or are 3rd party solutions needed to do this? I am a php/codfusion programmer and know nothing about asp, so I'm hoping somebody here can help me out.
4
3496
by: WaterWalk | last post by:
Hello, I'm currently learning string manipulation. I'm curious about what is the favored way for string manipulation in C, expecially when strings contain non-ASCII characters. For example, if substrings need be replaced, or one character needs be changed, what shall I do? Is it better to convert strings to UCS-32 before manipulation? But on Windows, wchar_t is 16 bits which isn't enough for characters which can't be simply encoded...
8
2015
by: shotokan99 | last post by:
i have this situation. i have a query string: http://www.myquerystring.com?x=xxxxx what this url does is it will return or start downloading a .png file. what i wanted to do is trap this png file and manipuate the image like resizing, color...etc. how can i do this?
0
2591
by: L'eau Prosper Research | last post by:
Press Release: L'eau Prosper Research (Website: http://www.leauprosper.com) releases new TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set. L'eau Prosper Market Manipulation Profiling Tools Set is a set of advanced tools that help Serious Traders analyze the market direction, market manipulative behavior and predicting the change of trend.
0
2355
by: L'eau Prosper Research | last post by:
NEW TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set By L'eau Prosper Research Press Release: L'eau Prosper Research (Website: http://www.leauprosper.com) releases new TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set. L'eau Prosper Market Manipulation Profiling Tools Set is a set of
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10303
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4282
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.