Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: How can I get the configuration of a client browser?


Message #1 by "Manuel Nogales" <mnoganog@e...> on Tue, 7 Jan 2003 12:10:41
Hi Everyone!

I am trying to get the configuration of Internet Explorer of the clients 
that access to my server. I know how to get version, browser, frames, 
platform, etc. with the management of the object BrowserType in ASP. But 
the properties of these object does not resolve my problem. Also the 
navigator object in Jscript gives me lots of information, but I would like 
to get the level of Security (low, medium,etc.)of my clients or the space 
reserved for Internet temp. files. Could I Obtain this information with 
those objects (navigator in Jscript, or BrowserType in Vbasic)? or, Must I 
implements an ActiveXControl to extract this information?

Thanks for your time!
Message #2 by "Alex Shiell, ITS, EB, SE" <alex.shiell@s...> on Tue, 7 Jan 2003 12:04:51 -0000
why do you need this information? do you have no respect for your clients'
privacy?

-----Original Message-----
From: Manuel Nogales [mailto:mnoganog@e...]
Sent: 07 January 2003 12:11
To: ASP Web HowTo
Subject: [asp_web_howto] How can I get the configuration of a client
browser?


Hi Everyone!

I am trying to get the configuration of Internet Explorer of the clients 
that access to my server. I know how to get version, browser, frames, 
platform, etc. with the management of the object BrowserType in ASP. But 
the properties of these object does not resolve my problem. Also the 
navigator object in Jscript gives me lots of information, but I would like 
to get the level of Security (low, medium,etc.)of my clients or the space 
reserved for Internet temp. files. Could I Obtain this information with 
those objects (navigator in Jscript, or BrowserType in Vbasic)? or, Must I 
implements an ActiveXControl to extract this information?

Thanks for your time!

________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com

Headquarters Address & Contact Numbers

150 Broomielaw
5 Atlantic Quay
Glasgow
G2 8LU.
Tel:  +44 (0) 141 248 2700.
Fax:  +44 (0)141 221 3217

 This message is sent in confidence for the addressee only.
It may contain legally privileged information. The contents are not to
be disclosed to anyone other than the addressee. Unauthorised recipients
are requested to preserve this confidentiality and to advise the sender
immediately of any error in transmission.


Message #3 by "Manuel Nogales" <mnoganog@e...> on Tue, 7 Jan 2003 12:32:53
> why do you need this information? do you have no respect for your 
clients'
privacy?

Hi Alex!

I need this information cause I try to configure remotely my clients how 
my applications need. If my clients acces to my server they must trust on 
my ActiveXcontrols. I only try to make them, the configuration of their 
browser transparent for themselves, I suposouse than not everyone know how 
to configurate the IE as I need.

Thanks for your interest.
Message #4 by Imar Spaanjaars <Imar@S...> on Tue, 07 Jan 2003 16:54:49 +0100
Are you talking about a Intranet or Internet solution??

Imar


At 12:10 PM 1/7/2003 +0000, you wrote:
>Hi Everyone!
>
>I am trying to get the configuration of Internet Explorer of the clients
>that access to my server. I know how to get version, browser, frames,
>platform, etc. with the management of the object BrowserType in ASP. But
>the properties of these object does not resolve my problem. Also the
>navigator object in Jscript gives me lots of information, but I would like
>to get the level of Security (low, medium,etc.)of my clients or the space
>reserved for Internet temp. files. Could I Obtain this information with
>those objects (navigator in Jscript, or BrowserType in Vbasic)? or, Must I
>implements an ActiveXControl to extract this information?
>
>Thanks for your time!


Message #5 by "Manuel Nogales" <mnoganog@e...> on Tue, 7 Jan 2003 17:12:48
> Are you talking about a Intranet or Internet solution??

Imar


At 12:10 PM 1/7/2003 +0000, you wrote:
>Hi Everyone!
>
>I am trying to get the configuration of Internet Explorer of the clients
>that access to my server. I know how to get version, browser, frames,
>platform, etc. with the management of the object BrowserType in ASP. But
>the properties of these object does not resolve my problem. Also the
>navigator object in Jscript gives me lots of information, but I would like
>to get the level of Security (low, medium,etc.)of my clients or the space
>reserved for Internet temp. files. Could I Obtain this information with
>those objects (navigator in Jscript, or BrowserType in Vbasic)? or, Must I
>implements an ActiveXControl to extract this information?
>
>Thanks for your time!

Hi Imar!

I´m talking about a Internet solution, but my clients are a restricted 
group, who must to trust on my ActiveXcontrols. I´m not interested to get 
information of other browser. I don´t let everybody access at these level 
in my structure.

Thanks.
Message #6 by Imar Spaanjaars <Imar@S...> on Tue, 07 Jan 2003 21:55:25 +0100
Well, in that case you might have a problem. You client needs to trust you,

before you get control over stuff like security settings. Otherwise it
would be way too easy to trick someone to come to your site, add your site

to the Trusted Zones and mess with their system, don't you agree?

Here's what you could do if you have some control over the client. I have
used this in an Intranet scenario where we needed control over the machines

remotely:

Create an Active X component or an Active X DLL.. The component can be run

in the browser, the DLL needs to be registered on the client using regsvr32.
Inside the DLL, host some methods to do registry lookups. We used client
side VB Script embedded in an ASP page to get a specific values in the
registry. As soon as someone entered our site, the script would run and we

were able to read or modify certain keys.

Most (but not all) of the Security Settings are put in plain text inside
the registry. So easy registry access methods like GetString and SaveString

can be used to access and alter the registry. There is plenty of API code
on the web that will explain you how to do this.

The settings are easy to find in the registry. If you can't find them, add

a weird site name to your Trusted Zones and search for that in the
registry. At that location, you'll find a lot of other IE settings.

If you add me to your trusted sites, I'll show you how easy it is ;-)

Cheers,

Imar



At 05:12 PM 1/7/2003 +0000, you wrote:
> > Are you talking about a Intranet or Internet solution??
>
>Imar
>
>
>At 12:10 PM 1/7/2003 +0000, you wrote:
> >Hi Everyone!
> >
> >I am trying to get the configuration of Internet Explorer of the clients
> >that access to my server. I know how to get version, browser, frames,
> >platform, etc. with the management of the object BrowserType in ASP. But
> >the properties of these object does not resolve my problem. Also the
> >navigator object in Jscript gives me lots of information, but I would
 like
> >to get the level of Security (low, medium,etc.)of my clients or the space
> >reserved for Internet temp. files. Could I Obtain this information with
> >those objects (navigator in Jscript, or BrowserType in Vbasic)? or, Must
 I
> >implements an ActiveXControl to extract this information?
> >
> >Thanks for your time!
>
>Hi Imar!
>
>I=B4m talking about a Internet solution, but my clients are a restricted
>group, who must to trust on my ActiveXcontrols. I=B4m not interested to get
>information of other browser. I don=B4t let everybody access at these level
>in my structure.
>
>Thanks.


Message #7 by "Manuel Nogales" <mnoganog@e...> on Wed, 8 Jan 2003 09:21:50
> Well, in that case you might have a problem. You client needs to trust 
you,

before you get control over stuff like security settings. Otherwise it
would be way too easy to trick someone to come to your site, add your site

to the Trusted Zones and mess with their system, don't you agree?

Here's what you could do if you have some control over the client. I 
have
used this in an Intranet scenario where we needed control over the 
machines

remotely:

Create an Active X component or an Active X DLL.. The component can be run

in the browser, the DLL needs to be registered on the client using 
regsvr32.
Inside the DLL, host some methods to do registry lookups. We used client
side VB Script embedded in an ASP page to get a specific values in the
registry. As soon as someone entered our site, the script would run and we

were able to read or modify certain keys.

Most (but not all) of the Security Settings are put in plain text inside
the registry. So easy registry access methods like GetString and 
SaveString

can be used to access and alter the registry. There is plenty of API 
code
on the web that will explain you how to do this.

The settings are easy to find in the registry. If you can't find them, add

a weird site name to your Trusted Zones and search for that in the
registry. At that location, you'll find a lot of other IE settings.

If you add me to your trusted sites, I'll show you how easy it is ;-)

Cheers,

Imar


---------------------------------------------------------------------
Hi again Imar!

Thank you for your advices,  I will search this settings information. I´m 
sorry can not add you to my trusted sites, it would be really disastrous 
for both us. :-o

Happy new year, and thanks again for your time!

  Return to Index