I have a xpage that have control of the documents by readers field. The control works fine, but when a user does not have access to a document and try to access this document direct by URL, the page show a empty xpage for read only. This is hard for user to understand. When a user cant see a document I need to show a error page "You dont have access...." instead a empty xpage.
Thanks