@steelersfan88Mar 04.2004 — #[color=red]Got a brain and realized that injected... is really important here, not that other previosu-referenced-to person[/color]
will make sure that no one can view the source of your web page [/B][/QUOTE]
Wow thanks Bill Gates :rolleyes:
[i]Originally posted by steelersfan88 [/i]
[B]You tell him Mod! haha. The sticky at the top is what Fred's referring to ... in other word's your wasting your time trying to do something that cannot be done! [/B][/QUOTE]
@steelersfan88Mar 04.2004 — #[color=red]Got a Brain and Moved On[/color]
There is actually a program from microsoft that will encrypt your javascript, not quite sure how or if anyone can decrypt it. Here's the link: [URL=http://www.microsoft.com/downloads/details.aspx?FamilyId=E7877F67-C447-4873-B1B0-21F0626A6329&displaylang=en]Microsoft Download [/URL]
It will take the following JScript:[code=php]<script language="JScript">
alert("Hello World")
</script>[/code]and encode it to:[code=php]<script language="JScript.Encode">#@~^JAAAAA==@#@&@#@&mVDYvJ_nV^W~KDs[r#@#@&@#@&JQcAAA==^#~@</script>[/code]Anyone get it? But it works!!!
@steelersfan88Mar 04.2004 — #fredmv's reply before he actually replies, haha: [I]Originally posted by steelersfan88[/I]
I get this wonderful feeling that fredms will do an excellent job as a moderator![/QUOTE]Thanks — just trying to set things straight here.[I]Originally posted by steelersfan88[/I]
from microsoft[/QUOTE]That's the root of the problem. JScript is a proprietary scripting language from Microsoft designed to only work in IE, thus making your scripts inaccessible to anyone other than IE users.
[I]and my reply:[/I] and to those with javascript disabled of course ... but if you have that much urgency in protecting your code, this is an alternative to not putting the code on the Internet <-- the best way to protect it!
@rhsundergroundMar 04.2004 — #i've said this before and i feel like saying it again. there's no way to [b]actually[/b] hide your source code, but there is something you can do to deter the stupidist of hackers and freshmen as such: [code=php] <!-- We're sorry. The number you have dialed, 9-1-1, is no longer in service. --> <!-- Please hang up and try your call again. --> <!-- We do not appreciate you trying to see what you should not see. --> <!-- This view source code has been disabled by user 3.141RHSUnderground. -->
@steelersfan88Mar 04.2004 — #and of course you are right ... client side scripting is very insecure and that's why we should close this forum and learn serve rside ... just kidding, just lerver that for the secure stuff!