Ask a Question related to PHP Development, Design and Development.
-
newb_bee #1
securing digital ebooks from online piracy
Hi, I'd like to know the best method(s) of ... protecting the download
link ... it's location ...not having a new window pop up with the URL
in it...
I am aware there is no foolproof way (-:
What are my _best_ options for getting paid for my products before the
purchaser gets sent to the page? I am selling downloadable ebooks
(yes, our own, not somebody else's). I use PaySystems if that matters
so I have options there, but am most concerned with the file folder
full of product.
anything I'm missing?
thanks very much.
newb_bee
newb_bee Guest
-
FIRST STEPS WITH EBOOKS - Help appreciated!
Hello there. I'm producing my first eBook. The pages are laid out well now and I've established how to include a link to a URL. If I test... -
eBooks from HTML
Hi, Pulling my hair out on this one so would appreciate some pointers. I need to convert several thousand html pages each with 9 images set in a... -
Anti-piracy software
What are the solution for protecting Director applications? I have spoken to companies like: Alladin MacroVision Pace None of them have... -
Piracy Protection for cd??
Hi all. I was wondering if there is any Xtra ou similar item that can be added to a Projector so that it cannot be duplicated/copied ? I´ve just... -
some php / mysql video training and ebooks for ya!
http://www.bytemonsoon.com/details.php?id=13911 you'll need to install first a bit torrent client, such as http://ei.kefro.st/projects/btclient/... -
lallous #2
Re: securing digital ebooks from online piracy
Hello,
Afaik, you can use serverside scripting such as PHP, as:
<?
// do validation here
.....
// output the header here using Header()
.....
// output the ebook data here (and download will be started if you outputted
correct header previously)
readfile('ebook1.pdf');
?>
Regards,
Elias
lallous Guest
-
newb_bee #3
Re: securing digital ebooks from online piracy
"lallous" <lallous@lgwm.org> wrote in message news:<bgq57q$qhqr2$1@ID-161723.news.uni-berlin.de>...
you can use serverside scripting such as PHP, as:>
> <?
> // do validation here
> ....
> // output the header here using Header()
> ....
>
> // output the ebook data here (and download will be started if you outputted
> correct header previously)
> readfile('ebook1.pdf');
> ?>
>
> Regards,
> Elias
Elias,
thanks, looks good ... except I really AM a newbie, would you be
willing to flesh this out some for me? Or point me to where I can find
out how to put in all the variables?
Cheers,
Sandra
newb_bee Guest
-
matty #4
Re: securing digital ebooks from online piracy
newb_bee wrote:
<snip>
I don't mean to sound nasty, but since you're doing this as a part of a>
>
> Elias,
> thanks, looks good ... except I really AM a newbie, would you be
> willing to flesh this out some for me? Or point me to where I can find
> out how to put in all the variables?
> Cheers,
> Sandra
business, do you expect people to write it for free for you?
matty Guest
-
gregm@cs.uwa.edu.au #5
Re: securing digital ebooks from online piracy
In comp.lang.misc newb_bee <sandra@delfin.org> wrote:
: <I am selling downloadable ebooks>
: What are my _best_ options for getting paid for my products before the
: purchaser gets sent to the page?
Don't write it until they've paid you.
-Greg
gregm@cs.uwa.edu.au Guest
-
Mark Hewitt #6
Re: securing digital ebooks from online piracy
"lallous" <lallous@lgwm.org> wrote in message
news:bgq57q$qhqr2$1@ID-161723.news.uni-berlin.de...Use the correct content-type here in the header, or the browser will get> Hello,
>
> Afaik, you can use serverside scripting such as PHP, as:
>
> <?
> // do validation here
> ....
> // output the header here using Header()
> ....
>
confused.
Look at "mime_content_type" for detecting mime types on random files, or if
you have a set file format you know in advance...
Quoting PHP 4.3.0 manual: ( HTTP Functions / header ):
<?php
// We'll be outputting a PDF
header("Content-type: application/pdf");
// It will be called downloaded.pdf
header("Content-Disposition: attachment; filename=downloaded.pdf");
// The PDF source is in original.pdf
readfile('original.pdf');
?>
for example for pdf (as in example below)
Remember, readfile() reads a file and prints to the output buffer (i.e. your
browser)
outputted> // output the ebook data here (and download will be started if youIf possible, try to store the pdf outside your servers document root, this> correct header previously)
> readfile('ebook1.pdf');
will prevent people trying to guess the url and dl directly
Thanks,
Mark
---------------------------------------------------------------------------
Windows, Linux and Internet Development Consultant
Email: [email]corporate@scriptsmiths.com[/email]
Web: [url]http://www.scriptsmiths.com[/url]
---------------------------------------------------------------------------
> ?>
>
> Regards,
> Elias
>
>
Mark Hewitt Guest



Reply With Quote

