"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!
hohhoyytAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

REA_ANDREWCommented:
I would have to say no.  

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

Andrew
0
kevp75Commented:
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
0
sybeCommented:
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?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

peterxlaneCommented:
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?

0
hohhoyytAuthor Commented:
yes, i use another domain. is there another way to parse xml messages without having this pop up message in asp?
0
sybeCommented:
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.
0
hohhoyytAuthor Commented:
i could not understand what you meant exactly...
0
sybeCommented:
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.
0
hohhoyytAuthor Commented:
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.
0
sybeCommented:
<%
'You can request a url from another domain by using this function:

Function ReadUrl(url)
    Dim oXMLHttpRequest
    Set oXMLHttpRequest = Server.CreateObject("Microsoft.XMLHTTP")
    oXMLHttpRequest.open "GET", url, False
    oXMLHttpRequest.send
    ReadUrl = oXMLHttpRequest.responseText
    Set oXMLHttpRequest = Nothing
End Function

' If you have that, you can send it to the browser

sHTML = ReadUrl("http://www.experts-exchange.com")
Response.write sHTML
%>

Now if you would have this page on your server, and somebody would request it, then the actual code is coming from your server (as far as the browser is concerned). What the code does is get the HTML from another domain and forward it.

You can do a similar thing with XML. You would need to return the "responseXML" in stead of the "responseText" and maybe it requires some more tweaking, but this is the basic procedure that I mean.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.