Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Plano, Texas
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Protect That Image!

    I know the questions regarding Protecting Code / Images / Right Click causes teeth to grind here, but a little different request.

    I have a simple One.htm page linked below. Please visit and press the Open Button for a pop-up One_a.htm. (The Start/Stop/Reset Buttons Have nothing to do with this exercise).

    Please hack the page to get my Valued Image / Valued Code / Valued Text.

    THEN, please explain to me how you did it and if there are additional ways to prevent what you did.

    I just want see if indeed I have the best techniques Javascript wize to prevent as much as possible.

    TIA For your insights!


    http://www.houseofproctor.com/lessons/one.htm

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well the only way i got in

    ----------

    I went to the page, I saved it to my computer, then I opend it into notepad removed what i didn't like and then uploaded it to my server and took whatever i wanted.



    The only way i have found to prevent this -- and it probably doesn't hehehe -- is to have all your javascript pertections in a .js file. .js files don't get downloaded -- from what i'vr seen - when someone downloads a page.


    I hope I've helped in any way
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Plano, Texas
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Okay! One hole filled. I am assuming just adding a Default.htm will stop the file download. The JS include is a good idea as well.

    Any suggestions are appreciated. Not that I have any great code, just want to find out from the real programmers here just how far protetction like this can go.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    676
    Thanks
    1
    Thanked 0 Times in 0 Posts
    joe...
    /me just a went® to the page...
    just a clicked® on your 'open' button...
    n' just a rightclicked® n' saved...smile28.gif
    n' just a rightclicked® one more time n' selected...view source... n' :O))) sawww it alll...

    n' tooo??? /me just a gets® these javascript errors:


    JavaScript Error:
    http://www.houseofproctor.com/lessons/one.htm, line 19:

    syntax error.

    <!C- Start Popup Window
    ^

    JavaScript Error:
    http://www.houseofproctor.com/lessons/one.htm, line 40:

    syntax error.

    <!C- Stop Watch
    ^

    JavaScript Error:
    http://www.houseofproctor.com/lessons/one.htm, line 125:

    Reset is not defined.


    n' thatttts just a viewing® your site in netscrap4.7 ...win98SE
    The New JustaBuster Version 2.0 OR JustaBusta Lite V2.0
    ...just a special® thanx kinda hugs to jkd n' nex ...:O)))

    CommemorateWTC.com --Please lend your support

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    676
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Originally posted by ACJavascript

    The only way i have found to prevent this -- and it probably doesn't hehehe -- is to have all your javascript pertections in a .js file. .js files don't get downloaded -- from what i'vr seen - when someone downloads a page.
    acj...
    /me seems to just a remember® ifin' you just a save® the page??? in ie??? thennn you get alll the js/images to go with the page...
    The New JustaBuster Version 2.0 OR JustaBusta Lite V2.0
    ...just a special® thanx kinda hugs to jkd n' nex ...:O)))

    CommemorateWTC.com --Please lend your support

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Justa, I used IE 5.5 and i never got the .js files, ??? is it my browser or is it just ----- weird things hehehehe
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    Plano, Texas
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thx Justame.. Looks like nothing in the page is good for Netscape... Hmmmmmm! Especially, the right clik copy etc.

    Thx for your time.

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hmmm......

    I cant help noticing that in your HTML you put <header>, me thinks that should just be <head>...
    redhead

  • #9
    Regular Coder
    Join Date
    Jun 2002
    Location
    Plano, Texas
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yep..Just a typo on that opening page.

  • #10
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The only way i have found to prevent this -- and it probably doesn't hehehe -- is to have all your javascript pertections in a .js file. .js files don't get downloaded -- from what i'vr seen - when someone downloads a page.
    Sorry, but when I look at the browser cache in IE, I can see several .js files lying there. Those cached files make hiding content more than a little difficult.

  • #11
    Regular Coder
    Join Date
    Jun 2002
    Posts
    624
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's not bad but at what cost? Are you planning on using this on an image site?.

    In IE I screen captured with PSP. In NN4 and Opera6, save as.

  • #12
    Banned
    Join Date
    Jun 2002
    Location
    Australia
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There is a SIMPLE way that you can download .js files.

    1) Veiw the scource
    2) Goto a WISIWIG editer
    2) get the location of the .js file (you may have to add the website address)
    3) get that address in a hyperlink.
    4) back click and say download

  • #13
    Regular Coder
    Join Date
    Jun 2002
    Posts
    676
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Originally posted by ACJavascript
    used IE 5.5
    acj...
    /me just a uses® ie5...errr just a rephrasing® that...'has' ie5...doesnt just a use® it much...hehehe...
    The New JustaBuster Version 2.0 OR JustaBusta Lite V2.0
    ...just a special® thanx kinda hugs to jkd n' nex ...:O)))

    CommemorateWTC.com --Please lend your support

  • #14
    Regular Coder
    Join Date
    Jun 2002
    Location
    The Planet Earth Code Poet: True
    Posts
    282
    Thanks
    0
    Thanked 1 Time in 1 Post
    Just enter this into the address bar:

    view-source:http://www.houseofproctor.com/lessons/One_A.htm

  • #15
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Simply put:

    You can't protect source code. Period.

    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

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