Encrypting Footer Links

Discussion in 'PHP' started by seokochin, Oct 21, 2008.

  1. #1
    I am planning to create few CSS templates for link building.I wish to encrypt/encode footer of the template.

    So what I must do ?

    can anyone please help ?
     
    seokochin, Oct 21, 2008 IP
  2. BioSpherical

    BioSpherical Active Member

    Messages:
    874
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    90
    #2
    Sorry can't provide advice but would just like to say I'm interested in doing a similar thing - is there any way to make footer links un-editable?
    By just encoding or encrypting them I assume the encrypted code can simply be deleted and replaced with whatever the other person wants to display.

    Another thing I've thought of is hiding the footer link in an obscure file, but this is not foolproof, and I'd have thought people shouldn't have too much trouble finding it if they have 30 minutes to check through all the files.

    So, my question, similar to the OPs, is - is there any way a footer link can be put in a completely uneditable file, and not removed in any way? Maybe if the footer code was deleted or changed the rest of the files would no longer work. Is there a way to do this?
     
    BioSpherical, Oct 21, 2008 IP
  3. seokochin

    seokochin Banned

    Messages:
    298
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You have to check whether footer is present in the template by code.
     
    seokochin, Oct 21, 2008 IP
  4. hasen

    hasen Peon

    Messages:
    994
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Does anyone know how to do this then?
     
    hasen, Nov 18, 2008 IP
  5. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    #5
    I don't think so its possible as template is simple HTML coding .
     
    harrisunderwork, Nov 18, 2008 IP
  6. wmtips

    wmtips Well-Known Member

    Messages:
    601
    Likes Received:
    70
    Best Answers:
    1
    Trophy Points:
    150
    #6
    If you talk about pure CSS, there is no way to "encrypt" something in it. If it is php file, you can embed some "obfuscated" text. Simpliest way to do it is to encode text with base64_encode PHP function and paste it in the code as base64_decode(yourencodedstring).
     
    wmtips, Nov 18, 2008 IP
  7. osocash

    osocash Member

    Messages:
    49
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #7
    hi,

    but base64 is not secure at all, you can convert to and back in base64 with just a simple ff plugin.
     
    osocash, Nov 18, 2008 IP
  8. seokochin

    seokochin Banned

    Messages:
    298
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Now I got the way.Just use IonCube to do encryption.It cannot be decrypted.
     
    seokochin, Nov 18, 2008 IP
  9. neo1896

    neo1896 Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    But All sites don't support ioncube.
     
    neo1896, Nov 18, 2008 IP
  10. osocash

    osocash Member

    Messages:
    49
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #10
    you cant use ioncube on a simple templates like this and exactly all sites don't support ioncube.
     
    osocash, Nov 18, 2008 IP
  11. logylaps

    logylaps Active Member

    Messages:
    761
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    85
    #11
    Encode it with your choice of software (ioncube, recursive base64 + others, etc) and also encode the last couple of </div>'s (or however your template is made) so if the user tries to remove the entire encoded block of text, it screws up everything else.

    There is NO WAY to prevent people from removing it 100%, but you can make as hard as possible.

    Or you can just trust people not to remove them :p
     
    logylaps, Nov 18, 2008 IP