473,799 Members | 3,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Set the url as "Trusted" in IE through javascript

Hi,
I would like to add an url as a "Trusted" one(Manual way :
Tools->InternetOption s->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 2360
dr*******@gmail .com wrote:
Hi,
I would like to add an url as a "Trusted" one(Manual way :
Tools->InternetOption s->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->InternetOption s->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->InternetOption s->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.publi c.scripting.jsc ript

Luck!
Kev

Jul 25 '06 #4

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

Similar topics

3
10058
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. The window in question is 480 high by 1000 wide. The screen dimensions are 1024x768. The move request is to 10,10, which would put the max right coordinate of the window at 1010 and the max bottom coordinate at 490. Both coordinates are...
5
5107
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 try to open the database from my laptop, I get the warning "Microsoft Access cannot open this file This file is located outside your intranet or on an untrusted site. Microsoft Access will not open the file due to potential security problems. ...
0
1198
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 laptop to a desktop. If I remove the project from the solution and re-add it from the Local Drive location, everything seems fine until I close .Net studio and try to reload the solution.
1
1613
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. All under WinXP I am missing something, because I can not get VS to connect to the SQL Server because "Not associated with Trust SQL Server connection" Where is this set up?? The user name, Dev1, has user profile and permissions on C2 in...
6
1725
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 MSN Web Messenger. That means once the session between browser and server has been established, the browser can get real-time messages with out sending requests periodically.(Or How to tell the browser that you need to send a new request to...
0
1062
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 trusted" error when VS.NET tries to load the web application. The application is not on a network share. I've used the .NET configuration module as suggested by numerous posting, but I still get that error. I have a local copy of the application...
6
1614
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' in some way. Bill
11
4291
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 an HTA file and Internet Explorer. Now I'm tackling a similar issue, but really need to keep the IE menus, navigation buttons, etc. this time around. Assuming a solution exists, I'm guessing it involves using the IE6 SP2 "Mark of the Web"...
19
2237
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? (in conjunction with css, you know, the usual...;) this is what is meant by "modern" javascript?? so how do folks feel about this who think javascript is so evil they disable it from their browsers?? do sites designed with "modern" javascript...
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10491
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10031
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9079
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7571
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5593
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.