Hiding Source Code

Discussion in 'HTML & Website Design' started by infoking3, May 12, 2006.

  1. #1
    I'm trying add a paypal button to my site in order to begin selling an ebook, but I don't know how to hide the return location. How do I prevent my source code from being accessed?
     
    infoking3, May 12, 2006 IP
  2. websiteideas

    websiteideas Well-Known Member

    Messages:
    1,406
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    130
    #2
    What do you mean by the return location?
     
    websiteideas, May 12, 2006 IP
  3. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well why dont you use some encoder like zend encoder or try truckmm cache i have it running on my server and it can encode too your source code.
     
    paidhosting, May 12, 2006 IP
  4. ideas_man

    ideas_man Active Member

    Messages:
    212
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #4
    You can encrypt your PayPal buttons using the generator on the PayPal website itself.It is one of the options near the bottom if I remember correctly.

    For more security you could consider using IPN (Instant Payment Notification) although this will require some knowledge of server-side scripting (ASP,PHP etc).

    Trying to prevent people seeing your source code is a waste of time really, if they want it bad enough, they'll find it. Traditionally, people have used Javascript to prevent right-clicking on a webpage. Of course this is only works if a) the user has javascript enabled and b) they do not realise that they could just as easily click View >> Source from the menu.

    I would recommend the use of IPN since it allows you to control access to your products instead of relying on the user to simply end up there as a result of a successful transaction.Alternatively you could use a third party service like Payloadz which handles all that for you. They do have a free package but that only allows up to $100 of sales a month.

    http://payloadz.com/account/levels.asp

    Hope this helps :)
     
    ideas_man, May 12, 2006 IP
  5. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #5
    iowadawg, May 12, 2006 IP
  6. ablaye

    ablaye Well-Known Member

    Messages:
    4,024
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    150
    #6
    I don't think that you can do it. Anyone would be able to see your HTML code.
     
    ablaye, May 12, 2006 IP
  7. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Trust me i have totally hidden my sites code and nothing but garbage shows up so its very much possible to hide source code, but i dropped the idea cause it destroys the site as bots see only garbage than :D
     
    paidhosting, May 12, 2006 IP
  8. ideas_man

    ideas_man Active Member

    Messages:
    212
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #8
    I've never used a page encryptor before.....so how would that work? If you change the text content of the page from HTML to whatever, how does the browser know how to render that?

    Sounds interesting :)
     
    ideas_man, May 12, 2006 IP
  9. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #9
    For the main page, you will see a code, that is it.
    Right click or use the view on the toolbar, you will not see the html code for that page.
    Interesting about the search engines....if true, they will not see the page, then it should be great for those pages you do NOT want indexed for the world to see.
    Like the download pages, stuff like that.
     
    iowadawg, May 12, 2006 IP
  10. ideas_man

    ideas_man Active Member

    Messages:
    212
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #10
    Hi Iowadawg,

    I just found your other thread where you are selling this script. But the problem is that it isn't encryption. There is nothing encrypted about it, it is just converting text to hexadecimal and then using Javascript to evaluate it.

    But then I guess it could never really be encrypted otherwise browsers wouldn't have a clue what to do with it (non-Javascript browsers don't either way). :)
     
    ideas_man, May 12, 2006 IP
  11. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #11
    Maybe I should really change the encryption to read "converting text to hexadecimal and then using Javascript to evaluate it" on the site.
    That should make noobs scratch their heads....lol

    Yeah, the site is the basic site that is part of the script.
    If I get enough business, hey at $3.95 and a person can use it as much as they want (no databases, so resources used pretty low on the server), I should get a few people if I promoted it.
    Then get a new template for the site.
     
    iowadawg, May 12, 2006 IP