Link to home
Start Free TrialLog in
Avatar of hohhoyyt
hohhoyyt

asked on

"This page is accessing information that is not under its control. This poses a security risk. Do you want to continue?" message in vbscript

I'm using XMl Dom parser with VB script in my program. I don't want my users to get the message "This page is accessing information that is not under its control. This poses a security risk. Do you want to continue?" But users can't do this from the internet options menu in IE explorer. They don't have right to do this. I want write some code to prevent this message.
Is there any way to do this with vbscript, or javascript, or html...etc
Please help me!
Avatar of REA_ANDREW
REA_ANDREW
Flag of United Kingdom of Great Britain and Northern Ireland image

I would have to say no.  

This is an inbuilt security feature, hard coded into the browser, I am almost sure.

Andrew
Andrew is correct.  Although I am sure you could build some WSC to emulate a user clicking the OK button when the message pops up, they would have to have the control on their systems in order to do it.

You could also change a few entries in their registry to supress security messages like this, but then again, you would have to do that on the client machines
Avatar of sybe
sybe

Interesting. I am using DIOM parsing with javascript, and I haven't seen anything like such a message pop up. Is the problem maybe that the XML is coming from another server as the page?
Is this client side VBScript or server side?  Are you making a request to a page on a different domain?  Do you have a sample of your code?

Avatar of hohhoyyt

ASKER

yes, i use another domain. is there another way to parse xml messages without having this pop up message in asp?
You can fake it to come from your server, by writing an ASP that pulls the XML from the other domain, and presents it to the webbrowser.
i could not understand what you meant exactly...
The problem seems to be that the browser pulls the xml from another server. You can solve by pulling the XML first to your server with an ASP script, and then let the browser pull the XML from your server.
hımm..."pulling xml first to ypur server with an asp script"...how can this be possible? can you suggest a website or something else to learn this.
ASKER CERTIFIED SOLUTION
Avatar of sybe
sybe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial