Is there a way to setup conditional rewriting based on whether the user has a Network Connect session established or not? We have a few bookmarks on our landing page and I would like to enable rewriting only if the user does not have a Network Connect session.
Thanks.
Solved! Go to Solution.
In that case one of the way to achieve this is, we have to detect if network connect is loaded in the memory or not based on which we can apply a policy.
Create a Host checker policy to evaluate a process dsNetworkConnect.exe. Based on the policy evaluation we can configure a conditional rewriting. would you like to go by this approach?
Regards,
SVK
with a detailed rules based on a condition we can either allow or deny. in our case the condition being tricky if nc is launched has to be tested out. I will test this and update.
other easy option is to remove the browser cookie once NC launches, by which browser session to SA would be terminated and all the traffic will go through Network connect.
This is a new feature and need SA version to be on 7.2RX release.
Regards,
SVK
for removing the browser cookie please refer the following KB
Thanks for the reply. I'll look into removing the cookie as an option.
Some of our less technical users have grown dependent on the bookmarks as a starting point rather than creating their own favorites for critical resources. Given the choice, I suspect the business would prefer to keep the bookmarks even if that means rewriting unnecessarily. Hoping I could avoid that through conditinal rewirting.
-john.
In that case one of the way to achieve this is, we have to detect if network connect is loaded in the memory or not based on which we can apply a policy.
Create a Host checker policy to evaluate a process dsNetworkConnect.exe. Based on the policy evaluation we can configure a conditional rewriting. would you like to go by this approach?
Regards,
SVK
Many thanks for the information.
What I have done so far is to create a new Host Checker policy. For Window, it detects the process dsNetworkConnect.exe and is set to monitor the rule for for changes. The policy is assigned to evaluate at realm level.
I have also created a rewriting policy with detailed rules, one to not rewrite the resource if the HC policy evaluates as true and one to rewrite if the policy evaluates as false.
This seems to be working as desired. With NC running, I get the un-rewritten version, when its shut-off, I get the rewritten version.
Anything I missed? Are there any drawbacks to this approach in terms of performance, load, etc?
What is the equivalent process name for Mac and Linux?
you have got it configured correctly.
On linux and mac we can achieve this by configuring for host checker for process. this need to be tested.
Configuring hostchecker should not any performance issue as this will be evaluated mostly at the client end
Regards,
SVK
For Linux and mac configure a host checker policy for process and test the following.
Linux : ncsvc
Mac : Network Connect.app
please mark this post as 'accepted solution' if this answers your question that way it might help others as well, a kudo would be a bonus thanks
Regards,
SVK