How to Detect the trusted site and add it via scripting?

K

Kam

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?
 
M

Mike Brind

Kam said:
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.
 
A

Anthony Jones

Mike Brind said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,812
Members
47,357
Latest member
sitele8746

Latest Threads

Top