[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 12648
  • Last Modified:

"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!
1 Solution
I would have to say no.  

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

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
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?
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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?

hohhoyytAuthor Commented:
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.
hohhoyytAuthor Commented:
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.
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.
'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
    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.


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now