Filter Authenitcation

Hi,I’ve implemented a DSAPI filter where I take a non-standard cookie, get the full user name and set it in FilterAuthenticate.authName.

The user X previously authenticated, tries accessing a resource Y, but Domino Policies does not allow this user X to access the resource Y. So, the Domino server throws a Basic AuthN challenge.

How can I configure Domino Server to throw a 403 Forbidden error in such a case.

Thanks,

Piras