/    Sign up×
Community /Pin to ProfileBookmark

View Source Lock Out???

Someone was telling me that there is a source that can make it so someone can not view source on a web page.. Is this true? If so where is it?

THanks

to post a comment
JavaScript

10 Comments(s)

Copy linkTweet thisAlerts:
@VladdyMar 04.2004 — format c:

will make sure that no one can view the source of your web page
Copy linkTweet thisAlerts:
@steelersfan88Mar 04.2004 — [color=red]Got a brain and realized that injected... is really important here, not that other previosu-referenced-to person[/color]
Copy linkTweet thisAlerts:
@InjectedSSauthorMar 04.2004 — [i]Originally posted by Vladdy [/i]

[B]format c:

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]


Yea thanks that's all I needed to hear then ?
Copy linkTweet thisAlerts:
@merxaisMar 04.2004 — if really want to hide.. no right click scripts could be useful.. but as Fred said it will make some visitors annoyed..
Copy linkTweet thisAlerts:
@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!!!
Copy linkTweet thisAlerts:
@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!
Copy linkTweet thisAlerts:
@Jeff_MottMar 04.2004 — http://www.virtualconspiracy.com/index.php?page=scrdec/intro

This is why we tell people to not even both to try. What you say is the best alternative is still a useless alternative.
Copy linkTweet thisAlerts:
@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. -->





































































<!-- FOOLED YOU! -->
<html><HEAD><title>RHS Underground</title>
<link rel="shortcut icon" href="favicon.ico" >
<link rel=stylesheet href="underground.css" type="text/css">
<SCRIPT LANGUAGE="JavaScript1.2">
[/code]
Copy linkTweet thisAlerts:
@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!
×

Success!

Help @InjectedSS spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...