开发者

Should application remove the firewall rules on uninstall?

开发者 https://www.devze.com 2023-03-29 02:05 出处:网络
My product has a service which adds a firewall rule while starting (manual start) for the first time. Installer for my product does not add any firewall rule.

My product has a service which adds a firewall rule while starting (manual start) for the first time. Installer for my product does not add any firewall rule.

When I uninstall the product, as the service is not aware of whether the product is g开发者_开发知识库etting uninstalled, the firewall rule remains there on the box.

1) Is it fine to keep the firewall rule on the box? Will that harm the box in any way if the service adding that rule is not there?

2) Does windows firewall is aware of the application or just keeps the ports open for anyone even after the associated application is uninstalled?


Ideally Uninstall procedure should revert the system back to the pre install state as closely as possible. Hence as one of the best practices, you should delete the firewall rule.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号