ISAPI - Knowing if rule accepted or deny the request on POLICY_CHECK_COMPLETED (Full Version)

All Forums >> [ISA Server 2004 Misc.] >> ISA Server 2004 Programming



Message


gbraux -> ISAPI - Knowing if rule accepted or deny the request on POLICY_CHECK_COMPLETED (12.Feb.2008 11:37:34 AM)

Hello,

Here is what is told about the SF_NOTIFY_POLICY_CHECK_COMPLETED  event in MSDN :
 
A notification specific to ISA Server 2006 and ISA Server 2004. Sent
after the ISA Server policy check has been completed, and the request
has either been allowed or denied. After this notification has been
received, the Web filter can request the GUID of the policy rule that
either allowed or denied the request. The filter can also request
additional data from the client (SF_STATUS_REQ_READ_NEXT), although
the read operation will fail if all of the data has already been
received.


On this event, I'd like to know if a firewall rule has accepted or denied the request ... But there are no specific structure comming with this event where I could find this information. I think the GUID (obtaited using server variables at this step) can only help me to obtain an AccessRule object (from FPC COM) ... But how to know is this rule ALLOWED or DENIED the actuel request ???!!!

Thanks,

Guillaume
 




gbraux -> RE: ISAPI - Knowing if rule accepted or deny the request on POLICY_CHECK_COMPLETED (12.Feb.2008 12:40:50 PM)

Solution found : http://groups.google.fr/group/microsoft.public.isa/browse_thread/thread/c42e1aaecfe419a3#c1b5bafc8b99c862

Guillaume




Page: [1]