PDA

View Full Version : How to make text un C + Pable



Thai-Man-Land
03-10-2008, 04:21 PM
Excuse my poor spelling without using a spell checker!

I am making a website. The website, sells play scripts. I want to let people see the full play script online, before they buy it. I do not, however, want them to be able to copy and paste it, and breach copyright.

Is there a way I can put a live preview online, without people being able to steal it? I was thinking of making a Java Applet, but I don't know how.

Help much appreciated.

Chris

L?KE
03-10-2008, 05:02 PM
Using php imaging could work.

Would take loads to load.

There must be javascript thing to stop that?

Joe!
03-10-2008, 05:03 PM
Couldn't you use flash? Although someone could decompile it with the right program. I don't think there will be a totally secure way of displaying the code without them stealing it.

L?KE
03-10-2008, 05:05 PM
My way, even if it does take a while to load :rolleyes:

Or better yet, don't show it all just show a few pages?

Thai-Man-Land
03-10-2008, 05:42 PM
I really don't think that's practical though.

If you were buying a teshirt, you'd want to see more than a sleeve before you paid for it.

Whats PHP Imaigng?

or even better, how do you do Java Applets?

Supersam
03-10-2008, 05:45 PM
I really don't think that's practical though.

If you were buying a teshirt, you'd want to see more than a sleeve before you paid for it.

Whats PHP Imaigng?

or even better, how do you do Java Applets?

Yes but with tshirts they cant steal it from the website.

Whereas most sites which display texts like exam papers sumbitted by students only show the first page or so and the rest needs to be paid for.

Dentafrice
04-10-2008, 06:13 PM
Either way people can still look at it, and if they want it bad enough, can just type it up again reading yours?

You could always generate the text into an image.. then watermark it with PHP.

Invent
04-10-2008, 06:19 PM
1) Load page
2) Check if the file (the play script) has been read before (stored in a db)
3) If yes, go to step 6
4) If no, generate an image of the text (play script) & watermark it [using PHP]
5) Insert file URL into a db
6) Load the image via the url in the db

Dentafrice
04-10-2008, 06:20 PM
1) Load page
2) Check if the file (the play script) has been read before (stored in a db)
3) If yes, go to step 6
4) If no, generate an image of the text (play script) & watermark it [using PHP]
5) Insert file URL into a db
6) Load the image via the url in the db
You wouldn't really have to store the file URL in the database, could just store the image data as a long/medium blob in the database.

Probably a little easier to cache then an actual file based system.

Want to hide these adverts? Register an account for free!