EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Clarity on Set Filter

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
Posted: 06/25/2015 03:25:01
by Manoj Jain (Standard support level)
Joined: 02/28/2013
Posts: 95

I need to know can I add additional filter when filter is already active?

I explain further:

1. I use AddFilterCallbackRule() to add few filters
2. Then call AttachFilter()

That means Active() is TRUE.

Now I want to add some more filters using AddFilterCallbackRule()

Can I do it without called DetachFilter()

Because there are several processes which may be using callbackfilter already and I cannot stop those process or detachfilter();

I have installed only one instance of driver and only one program

Thanks in Advance
Posted: 06/25/2015 04:26:05
by Vladimir Cherniga (Team)

You may add filter rules dynamically, without detaching the filter. In case of filter in active state, callback rule will be applied immediately. If filter not active, filter rule will be applied on AttachFilter() call.
By the way, you may create up to 256 CallbackFilter class instances, that will work simultaneously.
Posted: 06/25/2015 09:51:36
by Manoj Jain (Standard support level)
Joined: 02/28/2013
Posts: 95

That's wonderful

I am also able to delete filter at run time ... success

One issue ...

What if call AttachFilter() without any rule set?

Or should I set at least one filter rule?
Posted: 06/25/2015 10:01:32
by Vladimir Cherniga (Team)

Manoj Jain wrote:
Or should I set at least one filter rule?

It doesn't matter. There are no special requirements in AttachFilter() usage. I would suggest to do it in try...except block to catch the possible error situations.



Topic viewed 4626 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!