473,834 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I access trusted sites programmaticall y?

Hi,

How can I access the trusted sites list for the currently logged in
user programmaticall y? Is there some sort of IE API which I can call
to get this information or is it stored in a file anywhere? I need to
write a program which checks if certain sites are in a users list of
trusted sites and if not prompt them to add the sites. This is for use

with some browser based order system which are users use and they often

run into problems because they have not added the sites to there
trusted sites list.

Most grateful for any info
Pete

Mar 21 '06 #1
1 4992
pe**********@gm ail.com wrote:
How can I access the trusted sites list for the currently logged in
user programmaticall y?
I do not think you can.
Is there some sort of IE API which I can call to get this information
or is it stored in a file anywhere?
Probably, but this is a chicken-and-the-egg problem. You cannot access
private information before the site is in the Trusted Sites list.
I need to write a program which checks if certain sites are in a users
list of trusted sites and if not prompt them to add the sites. This is
for use with some browser based order system which are users use and
they often run into problems because they have not added the sites to
there trusted sites list.


Maybe I am missing something here, but would it not be best if you tried
it first and if did not work as supposed you can be sure that the site is
not in the Trusted Sites list, and you can advise your users accordingly
(with an alert())?
F'up2 cljs, please do not crosspost without Followup-To across
top-level hierarchies (comp.* and microsoft.*) next time. BTW,
microsoft.publi c.internetexplo rer is a hierarchy, not a single
newsgroup anymore; I removed it from the Newsgroups header.

PointedEars
Mar 21 '06 #2

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

Similar topics

12
15668
by: RR | last post by:
The next step after Grant Wagner's simple solution to my "Get computer name" thread, is to automatically add the web application's site to the list of trusted sites in IE. Obviously, the user should get a popup first that says "Do you want to add this site?" I've looked through the Wscript doco in MSDN, but can't find a way of manipulating this browser setting.
0
1267
by: Dan | last post by:
Hello to all. Any knowledge that you might have one the following subject will be GREATLY appriciated. I am new to Access Pages and I can not get rid of the following errors when I open my Access pages. The Access pages are for our intranet only. Once I click past the warning message the pages work fine. WARNING1 "This website uses a data provider that may be unsafe. If you trust the website, click OK, otherwise click cancel."
4
3617
by: TrinityPete | last post by:
Hi all, We have a web application that uses web services for data access and retrieval. The web app and web services reside under IIS on the same server(WIN2003). The virtual directories have been set for windows authentication and both the ASP web application and the web services are using windows authentication with impersonation of the logged on user. We also set the web service credentials to CredentialCache.DefaultCredentials. ...
7
1625
by: cindy | last post by:
I have a System.Web.UI.HtmlControls.HtmlInputFile control that I use to submit files. Before the file is successfully submitted I validate another field on the form, it is the description of the file must be 500 characters. I am adding the file to a site server library programmatically so if the field is too long I want to return the user to the form with file still selected in the HtmlInputFile control. I am using an error label to inform...
3
2365
by: drk.kumar | last post by:
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
17
2578
by: Flic | last post by:
Is this possible? I know about a bit about ODBC and found how to import an ODBC database stored on the computer, however I am after accessing an SQL database stored on a webserver. I'd like to keep it up to date, but that could probably be done with a macro. At the moment I'm just considoring possible options, so just need to know if it can be done, how easy and a rough idea of how.
1
4307
by: SofiaV | last post by:
Hello, 1.Add site toTrusted Sites List using javascript( programmatically ). Or 2.How to check it programmatically using javascript, if the specific site is included in the "Trusted Sites" Thanks in advance
0
2895
by: gpl666666 | last post by:
I use Microsoft Access to create a webpage I publish this webpage to our company server, it gives two messages when I open the webpage, one is: "This website uses a data provider that may be unsafe. If you trust the website, click ok, otherwise click cancel" Another msg is: "This website is using your identity to access a data source. If you trust this website click ok to continue, otherwise click cancel" I have to click OK for both...
3
20638
by: Prabu | last post by:
Hi, I am programming for a small computer device which is running on Windows XP. I need to disable the popup blocker and enable the "Allow script initiated windows without size or position constraints" options. To achieve this, I need to add my local intranet sites to "Trusted Sites" zone. I need to do this from a startup application, which is a c# application. Please anyone let me know, how to do this using c#?
0
9644
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10509
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10547
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9331
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
7757
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
6954
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
5626
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3977
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3081
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.