473,320 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Set the url as "Trusted" in IE through javascript

Hi,
I would like to add an url as a "Trusted" one(Manual way :
Tools->InternetOptions->security->trusted sites). How do I make it
through javascript code. Please let me know any sample code on this.
Thanks in advance
Krishnakumar

Jul 24 '06 #1
3 2309
dr*******@gmail.com wrote:
Hi,
I would like to add an url as a "Trusted" one(Manual way :
Tools->InternetOptions->security->trusted sites). How do I make it
through javascript code. Please let me know any sample code on this.
>From a web page, if the site is in IE's "trusted" sites list, and
scripting of ActiveX controls that are not "marked safe for scripting"
is enabled in that zone, then you can instantiate a WSH object and use
it to directly write the desired values into the windows registry.

Richard.

Jul 24 '06 #2

Richard Cornford wrote:
dr*******@gmail.com wrote:
Hi,
I would like to add an url as a "Trusted" one(Manual way :
Tools->InternetOptions->security->trusted sites). How do I make it
through javascript code. Please let me know any sample code on this.
From a web page, if the site is in IE's "trusted" sites list, and
scripting of ActiveX controls that are not "marked safe for scripting"
is enabled in that zone, then you can instantiate a WSH object and use
it to directly write the desired values into the windows registry.

Richard.
Richard,
Thanks for your response. In my application, I used the WMI scripts to
retrieve the client processor. To instantiate the WMI object in the
client machine, it needs the url should be in "trusted" list.
Otherwise it is throwing "Automation server cant create exception". The
same case for WSH also. Any suggestion on that?
Thanks
Krishnakumar

Jul 25 '06 #3

dr*******@gmail.com wrote:
I would like to add an url as a "Trusted" one(Manual way :
Tools->InternetOptions->security->trusted sites). How do I make it
through javascript code. Please let me know any sample code on this.
Just a suggestion... post your question in a group that is dedicated to
WMI scripts using javascript:

microsoft.public.scripting.jscript

Luck!
Kev

Jul 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dave Hammond | last post by:
Hi All, This one is a bit bizarre. My understanding of "Access is denied" with respect to window.moveTo is that it results from a request which would move a portion of the window off screen. ...
5
by: RWC | last post by:
Hello, I have a database that I need to connect with that resides on my personal intranet server. I'm on a different subnet than this server (running through two different gateways). When I...
0
by: Eric Mamet | last post by:
I am getting this message when trying to open a VB Web Service running on my local C Drive... It started happening when I copied all my VB Solution (including the Web Service Project) from My...
1
by: DellaCroce | last post by:
I am trying, for the first time, to set up a small development system at home. I have two computer C1 and C2. C2 has SQL Server 2000 and IIS running on. C1 has VS.Net 2003 running on it. ...
6
by: eXseraph | last post by:
Hi, As we know,in normal asp.net application, a browser need to send a request to a server first to refresh its page. Now I need to design a asp.net application with real-time capability like the...
0
by: George Durzi | last post by:
I'm attempting to pull down a VS .NET solution from VSS onto a new PC. The solution contains a web application and several class library projects. I get the "Project location is not fully...
6
by: swartzbill2000 | last post by:
Hello, I have some downloaded source code on my machine that the .net framework thinks is "not fully trusted". How can I fix this? I assume I use the 'Microsoft .NET Framework 1.1 Configuration'...
11
by: taoberly | last post by:
A few months ago I posted a question about using a file on my hard drive to perform cross-frame scripting and pull data from a server on my company's intranet. I eventually got this working using...
19
by: maya | last post by:
hi, so what is "modern" javascript?? the same as "DOM-scripting"? i.e., editing content (or changing appearance of content) dynamically by massaging javascript objects, html elements, etc? ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.