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
ACJavascript 06-18-2002, 04:53 PM Well the only way i got in :thumbsup:
----------
I went to the page, I saved it to my computer, then I opend it into notepad removed what i didn't like:p 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 :D:D:D:D
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.
justame 06-18-2002, 05:38 PM 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
justame 06-18-2002, 05:40 PM 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...
ACJavascript 06-18-2002, 06:56 PM Justa, I used IE 5.5 and i never got the .js files, ??? is it my browser or is it just ----- weird things hehehehe:D:D
Thx Justame.. Looks like nothing in the page is good for Netscape... Hmmmmmm! Especially, the right clik copy etc.
Thx for your time.
redhead 06-18-2002, 07:56 PM I cant help noticing that in your HTML you put <header>, me thinks that should just be <head>... ;)
Yep..Just a typo on that opening page. :thumbsup:
Roy Sinclair 06-18-2002, 08:38 PM 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. :(
Graeme Hackston 06-18-2002, 11:06 PM 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.
winlineau 06-18-2002, 11:30 PM 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
justame 06-19-2002, 12:48 AM 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...
JohnKrutsch 06-19-2002, 01:43 AM Just enter this into the address bar:
view-source:http://www.houseofproctor.com/lessons/One_A.htm
whammy 06-19-2002, 02:47 AM Simply put:
You can't protect source code. Period.
;)
Thx for the replies on this thread. As many have pointed , there is not a complete way to "hide" or "protect" code, images etc. As has been pointed out in many other threads regarding this topic.
I just wanted the info on how different techniques are used to view source files etc. Particulrlly on images!
End Of Subject!:thumbsup:
jscript_junkie 06-19-2002, 03:54 PM All I did was press CTRL+N in the fullscreen window (I'm using IE6 in W98SE)
|