Block Code(or Lock Content) From 'view Source' Exposure

Discussion in 'HTML & Website Design' started by enterprisemind, Feb 18, 2013.

  1. #1
    Hi DP Familiy,

    Does anyone know how to lock code content or block others from being able to view auto-responder code from being reveal when someone right clicks and selects 'view source?' Without it, anyone can bypass the optin and get the URL to our ebook or wep portal to membership sites. Please help. Any suggestions are wecome.


    Thanks
     
    enterprisemind, Feb 18, 2013 IP
  2. trtrtrtr

    trtrtrtr Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    View Source can only reveal Html, JS, Css and other front-end code but cannot reveal php and other back-end programming code
     
    trtrtrtr, Feb 18, 2013 IP
  3. Stone Rain

    Stone Rain Greenhorn

    Messages:
    15
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    11
    #3
    There's no way client side code like JS, HTML, CSS can be blocked from view. If it could be blocked, then the browser wouldn't be able to interpret it. Changing your site so that the information you want to hide is ran on the server side (PHP for example) is how you conceal processes. Never put anything in HTML you don't want the whole world to see.
     
    Stone Rain, Feb 19, 2013 IP
  4. enterprisemind

    enterprisemind Member

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    38
    #4
    Agreed. Thanks Stone Rain.
     
    enterprisemind, Feb 25, 2013 IP