[Javascript] locking contents-OK

Peter Brunone peter at brunone.com
Sat Jan 17 14:50:34 CST 2004


	No, I mean the html source.  I doubt anyone would be concerned
that users could view the server-side script.

	If you're displaying HTML, no matter how you do it, there is a
way to take/save that content.  Even if you use this dialog box approach
you mentioned, *something* has to load the content into that box.  There
is a link somewhere.  If you View Source and find that link, and then
paste that link into another browser window, you suddenly have the
content; it's not that hard.

	Beyond that, if you load that "protected" page at all, it will
be saved in the browser's history (not just the linear navigation
history), and you can then pick it from the dropdown list that extends
from the address bar.  Even if it doesn't show up right away, the first
few characters of the domain name typed there will bring up a list of
comparable links, which will most likely include the URL of the page you
were trying to protect.

	Sure, not everybody knows how to do these things, but plenty do
-- students are a creative, resourceful bunch -- and if you have the
knowledge, it would take you about a minute to get what you want.

Huh.

-----Original Message-----
From: javascript-bounces at LaTech.edu On Behalf Of BEKIM BACAJ

Ouh, you mean the source-code together with the content And not 'only'
the 
content,
No, they can not. It's asp and you also can't do anything with the data 
displayed with web-page dialog.
You can't highlight (select no portion of it)
You can't use copy-paste command
You can't use right-click, cause dialogs don't react on such. You can't
print the conten's of it unles you've programmed it and defined a 
print button.
and there is no way you can review the sourcecode.
huh

>From: "BEKIM BACAJ" <trojani2000 at hotmail.com>
>
>Tell us how. Please?
>
>>From: "Peter Brunone" <peter at brunone.com>
>>
>>	Right, but if you can *view* the source, you can *save* the
source... 
>>And edit it any way you like as well.
>>
>>-----Original Message-----
>>From: javascript-bounces at LaTech.edu 
>>[mailto:javascript-bounces at LaTech.edu] On Behalf Of BEKIM BACAJ
>>
>>Peter Brunone wrote
>> >	Then can't they just view the page source and get the info that
>>way?
>>
>>Yes!
>>Are we missing some point here?!
>>
>>Sebastian wrote this on his question:
>> > > > > >----- Original Message -----
>>
>> >I have to prevent that users who browse my HTML pages can do:
>> >- select and copy the contents
>> >- print the contents
>> >- save the html page
>> >- edit source
>> > > >
>> >Bassically they can only view the contents.
>> >Is anything od this possible?
>> >The content of a page is a set of exam questions that should't be
>> >copied,
>> >printed ecc. I know that there's always printscreen...
>>
>>And he also wrote:
>>
>> >My program (written in ASP) randomly generates set of questions from

>> >a question databases, displays them as en exam, accepts students 
>> >answers
>>and
>> >finnaly callculates the score.
>> >Of course the time is limited and also the period
>> >(certain hours of certain days).
>>
>>The main purpose for this content is (firstly) to be *viewable* and 
>>viewable only.





More information about the Javascript mailing list