That seems to me something that the WebServer should deal with. Meaning that if your document doesn't exist or is not returned because of no access, the Web Server should manage that, understand that the URL points to a wrong address and so show the error message. There are some ways of doing this, and you can customize your error webpages in IIS and Apache.
Hope that helps.
Thanks for your reply.
We are not using some other webserver we are using qlikview webserver only, using the below url as link in other webpage instead of access point. if i use the URL directly in browser then i am getting as HTTP 404 error message, but i need some custom error messsage,