SitePoint Sponsor

User Tag List

Results 1 to 23 of 23
  1. #1
    SitePoint Member
    Join Date
    Mar 2003
    Location
    uk
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Prevent users removing copyright

    Hi I make forum skins and before i release a new forum skin i would like to make sure the copyright has more chance of being kept then in just html so how do I make it so that when someone removes my copyright that it gives them a admin cp error message, I am using IPB 2.0, I dont want to ask over at there forums or they will know what to look for

    The copyright is a image which is linked to my site (which i dont want them to be able to remove)

    thanks
    Graham Barnes

  2. #2
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've wondered this too...and this is my train of thought on it...though I haven't tried it...

    Would it be possible to create your copyright link as a Flash animation that includes a secret, hidden variable in the namespace which the script would not work without?

    Therefore, if the copyright is removed, so it the secret variable... Of course, the script would have to look for the variable's value as a MD5 hash or something... to avoid it simply being placed in the code.

    I have no idea how this might (or if it even will) work...

    ...just my .02...

    Cranjled

  3. #3
    Custom User Text tonyskyday's Avatar
    Join Date
    Feb 2004
    Location
    Virginia
    Posts
    240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Couldn't someone just give it a css value of display: none; to get around that?

  4. #4
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure what you mean tonyskyday?

  5. #5
    Custom User Text tonyskyday's Avatar
    Join Date
    Feb 2004
    Location
    Virginia
    Posts
    240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well. If you give a css value of display: none; to an element, it is still output to the html, but not shown in the browser window, right?

  6. #6
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, this makes the element "invisible"...though not very "secure" since the source view gives it away... perhaps it could be md5'd in the source or something...

    I don't know for sure, but would sure like to have a definitive method myself...

  7. #7
    SitePoint Addict loadx's Avatar
    Join Date
    Jul 2004
    Location
    Melbourne, VIC, Australia
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    from my understanding he is saying you could just give the swf, image etc a css value of 'none' and it wouldnt display it at all.

    achieved maybe by surounding that area in a div and using a none property for that div. (not too sure, but i think it would work) therefore not displaying anything at all.

    From w3schools
    Value:none
    Description: The element will not be displayed

  8. #8
    Custom User Text tonyskyday's Avatar
    Join Date
    Feb 2004
    Location
    Virginia
    Posts
    240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right. My point is, they can make it so the copyright disapears from the screen, but is still in the code, potentially bypassing the check you put in place to make sure the copyright is there. I'm not sure if this holds true with flash, but if your script was merely checking for a certain <img> I would think it could easily be bypassed with css.

  9. #9
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see... though XPguy does want the copyright to display...

    ...presumably for the linkback...

  10. #10
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tough issue indeed...

    ...are there any elements that don't work with display:none...?

  11. #11
    Custom User Text tonyskyday's Avatar
    Join Date
    Feb 2004
    Location
    Virginia
    Posts
    240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cranjled
    I see... though XPguy does want the copyright to display...

    ...presumably for the linkback...
    Right, he wants a way to prevent the copyright from being removed.

    My point was that the copyright can possibly be hidden instead of removed, potentially defeating his purpose in having some sort of check in the code. He would need to take that into account somehow in his solution.

  12. #12
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Gotcha...

    ...I'm very interested in this copyright thing...and never thought about hiding the swf in this way... so the swf method is moot... hmmm... I wish there was an obvious way to achieve this.

  13. #13
    Put your best practices away. The New Guy's Avatar
    Join Date
    Sep 2002
    Location
    Canada
    Posts
    2,087
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Vb I believe has a call home feature hidden in the code, to make sure people who use their boards are not violating TOS. Of course their are cracks, but you cant stop everything 100%. Just hope you have a good fan base who will rat out forums they visit.
    "A nerd who gets contacts
    and a trendy hair cut is still a nerd"

    - Stephen Colbert on Apple Users

  14. #14
    Custom User Text tonyskyday's Avatar
    Join Date
    Feb 2004
    Location
    Virginia
    Posts
    240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cranjled
    Gotcha...

    ...I'm very interested in this copyright thing...and never thought about hiding the swf in this way... so the swf method is moot... hmmm... I wish there was an obvious way to achieve this.
    The swf method may not be moot. I don't know much about flash, but maybe someone who knows more can tell us what happens to flash variables when an swf file is hidden with css. Then again, there could be a problem if the user's browser doesn't include the flash player plugin.

    I don't think there is a foolproof solution, since the source is available and can be altered anyway.

    You really may just have to rely on the honor system.

  15. #15
    SitePoint Zealot Daniel .S.'s Avatar
    Join Date
    Jun 2004
    Location
    Pocklington, UK
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you have images, you could place a watermark on every one?

    From Daniel .S.
    www.danielsefton.com
    My personal resume with tools, resources, tutorials and my work.

  16. #16
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tonyskyday
    ...there could be a problem if the user's browser doesn't include the flash player plugin...
    You can bypass this with the <object> and <embed> tags...which will grab the right player from the MacroMedia servers if not installed...but still, users can disable Flash as well...

    ...hmph...

    Honor system it is, I guess...


  17. #17
    SitePoint Zealot Daniel .S.'s Avatar
    Join Date
    Jun 2004
    Location
    Pocklington, UK
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whats a Honor system?

    From Daniel .S.
    www.danielsefton.com
    My personal resume with tools, resources, tutorials and my work.

  18. #18
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    An honor system is one that relies on end-users keeping the copyright link/image intact...based on the fact that they are honest people.

  19. #19
    Non-Member ZmasterZ's Avatar
    Join Date
    Aug 2004
    Location
    Codercc.com
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    MMM, well if someone does remove it you can SUE THEM!

  20. #20
    SitePoint Addict cranjled's Avatar
    Join Date
    Apr 2004
    Location
    ny
    Posts
    382
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol...true...if they are in your country of residence... otherwise, you might only be able to "name and shame" them...

  21. #21
    Non-Member ZmasterZ's Avatar
    Join Date
    Aug 2004
    Location
    Codercc.com
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or you can do what microsoft does. Buy ever country, and then sue them still lol

  22. #22
    SitePoint Zealot Daniel .S.'s Avatar
    Join Date
    Jun 2004
    Location
    Pocklington, UK
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cranjled
    An honor system is one that relies on end-users keeping the copyright link/image intact...based on the fact that they are honest people.
    Thanks cranjled, I was thinking it was something along them lines...lol

    From Daniel .S.

    p.s. thanks for joining my Forums!
    www.danielsefton.com
    My personal resume with tools, resources, tutorials and my work.

  23. #23
    SitePoint Addict moonchild's Avatar
    Join Date
    Nov 2003
    Location
    U$A
    Posts
    258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    isn't there a tool that encrypts php code? if so, you could encrypt a section of it, but within the encrypted code, you could have a constant or whatever that is there to do the following: if removed, the site won't work. you know, it would mean extra code on the backend, checking whether or not it is set, and to whatever value it is set to, but it might work.

    anyways, my idea would basically involve something like this:

    PHP Code:
    define('COPYRIGHT_PH'true);
    echo 
    'Copyright (C) Blah blah blah'
    and then you scripts could check for COPYRIGHT_PH being defined.

    i am not positive on the php encryption stuff, but i have heard about it, and i don't know if the tools are free or not. it might work though.


Bookmarks

Posting Permissions

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