Alex

On Friday, November 16, 2012 at 5:44 PM, Alexandre Rafalovitch wrote:

> I wonder if it is possible to protect those resources and whether the
> browser will pop-up the authentication on first access (even if from AJAX
> call). Or it might be possible to have a fake resource loading from that
> area to force auth request?

The AJAX Calls will silently fail - the server is simply responding with an 
401, but not more. Of course you can setup an error handler for that case, but 
you have to do the whole authentication management yourself (the browser 
doesn't help you while using AJAX Calls, i'm afraid)

Stefan

Reply via email to