
Signature
Bishoy George
bishoy@bishoy.com
20102550399
---------------------------
Bishoy George said:
>Dear Randy,
>
[quoted text clipped - 3 lines]
>1- Preventing specific browser is easy by the .net
>Page.Request.Browser.Type
How can you possibly know what browser type I'm using?
I can send whatever data I like to your server to mislead it.
Isn't that enough right there to break your system?

Signature
Bishoy George said the following on 4/16/2006 at 8:38 AM in
news:microsoft.public.scripting.jscript or somewhere close to there:
> Dear Randy,
>
> You are a little bit furious even on the Dear word, keep calm my dear.
Me, furious about Usenet? Surely you jest. There is nothing in Usenet
worth getting furious about.
> Most of your answers take each point aside not as a whole.
>
> 1- Preventing specific browser is easy by the .net
> Page.Request.Browser.Type
Is that why you page says this:
Your browser is IE6!
Be very very careful before you answer that.
> 2-, 3- your answers didn't work with my page OR may be I did't know how to
> make it OR may be IE requires you to close all its windows and reopen them
> again.
Perhaps if you quoted what you are replying to it would be easier to
know what 2 and 3 were. Even OE has the ability to quote what you are
replying to.
Ahh, here they are:
<quote>
> 2- I disabled right-click and selection.
Open page.
Minimize Browser
Open Second Browser window.
Disable Scripting.
Bring up browser window with webpage.
Right Click> View Source
> 3- I disabled print-screen.
<quote>
If 2 doesn't work for you, then something is set different in your IE6
from mine. I know that 3 works on *any* browser because the print-screen
is a Windows function and not the browser itself. Move your browser
window over so you can see an icon on your desktop. Then, click an icon
on your desktop and hit print-screen. Or, use any popular screen
printing utility - they are a dime a dozen on the web.
> 4- You are right.
Being right on #4 alone means you haven't stopped the page from being
saved, only made it minimally more difficult is all.
> 5- You are wrong. Because it prevented the page from reopen by CTRL-N
OK, irrelevant to me because you can't open a window on my PC without
tool bars so I very seldom ever have to do a control-N
> 6- It is only a masking way
Fair enough.
> 7- return to 5-.
See 5 above.
> Go to http://testarea.nagyresearch.com and make an account for you and I
> will show you my secured claimed to be unsavable(except with IE7) page.
I applied, it let me have a username but I don't think I will get the
email at humptydumpty@google.com so I won't be able to log in.
But, to be totally fair, I don't think a lot of your visitors will be
savvy enough to get around what little bit of security you have
considering most of them would be medical researchers and not scripters.
Be aware though that a proxy server that is decent will stop you from
removing my toolbars......

Signature
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Bishoy George - 17 Apr 2006 09:13 GMT
Hi Randy,
I activated the account you made.
As you said, I quoted your answers. My answers will start with >>>.
> Bishoy George said the following on 4/16/2006 at 8:38 AM in
> news:microsoft.public.scripting.jscript or somewhere close to there:
[quoted text clipped - 16 lines]
>
> Be very very careful before you answer that.
>>> I know that there may be misleading to the server. They say that FireFox
>>> may appear to the server as IE6 or IE7.
>>> But yes, I use Page.Request.Browser.Type for knowing your browser type.
-----------------------------------------------------
>> 2-, 3- your answers didn't work with my page OR may be I did't know how
>> to make it OR may be IE requires you to close all its windows and reopen
[quoted text clipped - 26 lines]
> desktop and hit print-screen. Or, use any popular screen printing
> utility - they are a dime a dozen on the web.
>>> I'd like to ask you how to disable scripting???
---------------------------------------------------
>> 4- You are right.
>
[quoted text clipped - 26 lines]
> Be aware though that a proxy server that is decent will stop you from
> removing my toolbars......
Randy Webb - 17 Apr 2006 14:32 GMT
Bishoy George said the following on 4/17/2006 4:13 AM:
> Hi Randy,
> I activated the account you made.
[quoted text clipped - 22 lines]
>>>> may appear to the server as IE6 or IE7.
>>>> But yes, I use Page.Request.Browser.Type for knowing your browser type.
It wasn't Firefox but if you want, I can give you the exact UA string it
is using.
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322; .NET CLR 2.0.50727)
It is an exact copy of a UA string from IE6 but unless you get into some
really really serious object detection you won't be able to tell the
difference - especially not from the UA string. I can just as easily
make it say "My F**king browser"(I did that for a while just for kicks
but my toolbar in IE does say "Randys Browser"). Editing the Registry is
fun sometimes :)
But as I said before, what you are doing is probably safe enough for
your visitors.
<snip>
>>>> I'd like to ask you how to disable scripting???
I have a simple add on button I click that enables/disables scripting
but in IE6 it is Tools>Internet Options>Security Tab>Advanced and scroll
to the bottom. There are 3 or 4 of them to enable/disable.
<snip>
>> But, to be totally fair, I don't think a lot of your visitors will be
>> savvy enough to get around what little bit of security you have
>> considering most of them would be medical researchers and not scripters.
I said the above and am leaving that part of what I said intact because
the methods you use probably are secure enough for medical researchers.

Signature
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Bishoy George - 17 Apr 2006 15:39 GMT
Still you didn't answer my original question...
How to detect window type (-normal -tab -popup) with the page code.

Signature
Bishoy George
bishoy@bishoy.com
20102550399
----------------------------------
> Bishoy George said the following on 4/17/2006 4:13 AM:
>> Hi Randy,
[quoted text clipped - 57 lines]
> I said the above and am leaving that part of what I said intact because
> the methods you use probably are secure enough for medical researchers.
Randy Webb - 17 Apr 2006 22:23 GMT
Bishoy George said the following on 4/17/2006 10:39 AM:
> Still you didn't answer my original question...
> How to detect window type (-normal -tab -popup) with the page code.
Nobody has answered you because you can't determine - with script -
whether it's in a new window or a popup.

Signature
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/