Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 9 of 9
  1. #1

    Default How to make text un C + Pable

    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

  2. #2
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Using php imaging could work.

    Would take loads to load.

    There must be javascript thing to stop that?


  3. #3
    Join Date
    Jan 2006
    Location
    Kent
    Posts
    987
    Tokens
    0

    Default

    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.
    This is our situation and we're happy to be here,
    I wouldn't change this place for anything.


  4. #4
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    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?


  5. #5

    Default

    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?

  6. #6
    Join Date
    Apr 2008
    Location
    Posts
    669
    Tokens
    0

    Default

    Quote Originally Posted by Thai-Man-Land View Post
    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.
    " When the power of love overcomes the love of power, the world will know peace. "

  7. #7
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    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.

  8. #8
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    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

  9. #9
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •