Re: Don't want View Source to function

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 10/01/04


Date: Fri, 1 Oct 2004 10:08:08 +1000

I'm sorry but I fail to see any rudeness on Kristofer's part. He merely
stated the facts - this type of thing can not be controlled on the server
side (ie by IIS), and any client-side implementation (ie via javascript) is
fairly trivial to defeat.

Cheers
Ken

"Jonathan Allen" <x@x.x> wrote in message
news:uPOdiHypEHA.1644@tk2msftngp13.phx.gbl...
>I found this post to be quite rude. Earl Niemoth already explained that he
> knew he couldn't completely protect his source code, and he was only
> looking
> for ways to "slow down any user". As for disabling the right-click being
> annoying, well that is unavoidable. If I want to look at source code and
> you
> won't let me, of course I'm going to be annoyed.
>
> --
> Jonathan Allen
>
>
> "Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message
> news:OlpTUAxpEHA.1992@TK2MSFTNGP09.phx.gbl...
>> Hello,
>>
>> The HTML source is always sent to the client, or else, the client would
> not
>> be able to show the webpage. There is no way to limit "view source" on
>> the
>> server side, since it is up to the client if it want to give the user the
>> ability to show the code. Some people block right clicking by using
>> javascript, but that will only annoy your users. You cannot limit access
> to
>> Menu Options such as "View Source" in the client, because that is a
>> client
>> side setting.
>>
>> So, the answer would be: You cannot do this, unless you have ability to
>> control the web browser, and if you can do this, you should be asking in
>> a
>> newsgroup for the web browser your users will use.
>>
>> --
>> Regards,
>> Kristofer Gafvert
>> http://www.ilopia.com
>>
>>
>> "Earl Niemoth" <EarlNiemoth@discussions.microsoft.com> wrote in message
>> news:6CFF22B7-4002-40DB-9F0F-934F4973A798@microsoft.com...
>> > I would like to minimize the ability to see my HTML source code on my
>> > websites. Yes, the HTML can still be found in the Temporary Internet
> File
>> > folder; but I want to slow down any user.
>> >
>> > Any suggestions as to how this can be handled?
>> >
>> > Thanks.
>>
>>
>
>



Relevant Pages

  • Re: Dont want View Source to function
    ... cannotbe controlled by the web server. ... Earl Niemoth already explained that he> knew he couldn't completely protect his source code, and he was only looking> for ways to "slow down any user". ... >> The HTML source is always sent to the client, or else, the client would> not ... >> control the web browser, and if you can do this, you should be asking in a>> newsgroup for the web browser your users will use. ...
    (microsoft.public.inetserver.iis)
  • Re: VB Scripting CreateObject Client Side Object
    ... > don't have the ActiveX control built but I need something to run something ... > the client and be launched by a button on the Web Browser what do I use? ... >>> control would run everything at the server wouldn't it? ...
    (microsoft.public.dotnet.framework.aspnet)
  • hosting a winforms control in a web browser
    ... I understand it is possible to host a winforms control written in c# ... or other dotnet and have it run and display in a web browser ... Can this be also done in a client only HTA or client side bowser ... a dotnet volume slider bar control in the webpage, ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: step in VB 6 control code with .NET client
    ... > I have a VB 6.0 ActiveX control with source code. ... Need to step into VB 6.0 code while VC++ client ... but VB so one of the .Net groups may be able to help. ...
    (microsoft.public.vb.controls)
  • Re: Hiding the source code
    ... >How do i hide the source code of my page such that it can't be viewed on a ... Don't use client side code. ... Jeff ...
    (microsoft.public.scripting.vbscript)