Skip navigation
Currently Being Moderated

ssl question

Sep 22, 2012 7:06 PM

Gidday

 

Just wondering how to intercept a particular security alert that could pop up in an AIR app, and replace it with my own that has safer options?

 

I have an AIR desktop app that connects to my site via URLRequest, and I have SSL set up on the site.

 

I want to intercept the current warning that comes up if I try an connect to a different site (in an effort to simulate a man-in-the-middle attack), and display my own error that does NOT give the user the option of continuing, but instead alerts them that something is wrong, there is a possible security breach, and that connection is not possible.

 

The current warning is:

 

delete.gif

 

This is also what would be presented if a man-in-the-middle attack is in progress.  This is bad, as I don't want the user continuing at all if this is the case.

 

How do I intercept such a message - is there a specific HTTP event listener?  If it's not possible, is there a different way to connect to my site that would avoid browser type pop ups like this?

 

Thanks for your help.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points