Both access allowed and access denied events are created when a PDF file is opened