I am using SQL Server 2000 Analysis services and Office Web Components to
display the information.

when the user first time access the web site, he/she did to add it into the
trusted site list, Otherwise, the user is required to ignore some warming
message.

Does anyone know how to detect the current site is in the trusted site list?
If not, how can I add the current site into the trusted site list using
scripting?

Re: How to Detect the trusted site and add it via scripting? by Mike

Mike
Mon Sep 11 02:42:07 CDT 2006


Kam wrote:
> I am using SQL Server 2000 Analysis services and Office Web Components to
> display the information.
>
> when the user first time access the web site, he/she did to add it into the
> trusted site list, Otherwise, the user is required to ignore some warming
> message.
>
> Does anyone know how to detect the current site is in the trusted site list?
> If not, how can I add the current site into the trusted site list using
> scripting?

You can't do this with ASP, which acts on the web server. It's highly
unlikely that you can do this on the client side without the user's
agreement - and even then it may not be possible. You would be better
off asking in a client-side scripting group, such as
comp.language.javascript or microsoft.public.scripting.jscript.

When you ask in the client side grops, you needn't mention SQL server
or OWC. They are irrelevant to your requirement.

--
Mike Brind


Re: How to Detect the trusted site and add it via scripting? by Anthony

Anthony
Mon Sep 11 07:37:40 CDT 2006


"Mike Brind" <paxtonend@hotmail.com> wrote in message
news:1157960527.284206.262130@h48g2000cwc.googlegroups.com...
>
> Kam wrote:
> > I am using SQL Server 2000 Analysis services and Office Web Components
to
> > display the information.
> >
> > when the user first time access the web site, he/she did to add it into
the
> > trusted site list, Otherwise, the user is required to ignore some
warming
> > message.
> >
> > Does anyone know how to detect the current site is in the trusted site
list?
> > If not, how can I add the current site into the trusted site list using
> > scripting?
>
> You can't do this with ASP, which acts on the web server. It's highly
> unlikely that you can do this on the client side without the user's
> agreement - and even then it may not be possible. You would be better
> off asking in a client-side scripting group, such as
> comp.language.javascript or microsoft.public.scripting.jscript.
>

No it can't be done. Period. If it can switch browsers now!

Closest you could get would be a group policy or a logon script but that
would defeat the point of using OWC in the first place since the client
machine would need to be a domain member.

> When you ask in the client side grops, you needn't mention SQL server
> or OWC. They are irrelevant to your requirement.
>
> --
> Mike Brind
>