I have a content-filtering proxy that inspects uploaded documents and prevents them from being uploaded to an Alfresco server under certain circumstances (for example, if the document contains certain phrases, or embedded OLE objects, it will not be allowed through the proxy). This works well, except when the document is blocked, no error message is displayed, and the upload appears to get stuck on the client side (the Flash-based file uploader is barred by the proxy).
Is there a way I can display an error to the user when the proxy returns a 403 HTTP status?