Control user access to open the document on web

if I can’t use webqueryopen event of the form to prevent user from opening a document or redirect another page is there another method to do this.

Thanks in advance

Subject: Control user access to open the document on web

Do you have the users authenicating within the website or are all anonymous web users the audience you are targeting?

cheers

Subject: RE: Control user access to open the document on web

All users are authneticating. (session based authentication-intranet application)