Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I made an application which uses ftp so windows shows windows security alert windows firewall has blocked some features of this program message for every new version of my application any idea how to fix this so user does not have to press unblock for every new build of my application?

I publish my application using visual studio publish option & new version get pushed to client machines automatically. details for this deployment are here

e.g. For 1.2 version it will only ask for windows firewall permissions only once but for 1.3 it will ask again.

share|improve this question
    
Are you changing the image path and name with each build? i.e is it c:\progra~1\jaminator_1.2\jm12.exe before upgrade and c:\progra~1\jaminator_1.3\jm13.exe after? –  Graham Hill Jan 6 '12 at 16:28
    
@GrahamHill yes for some reason its changing the path details social.msdn.microsoft.com/Forums/en-US/winforms/thread/… –  jaminator Jan 6 '12 at 18:38

1 Answer 1

This is by design in the windows firewall security model - if it thinks the application has changed it doesn't know whether that is a malicious change so reverts to the default 'block' until a connection is approved by the user.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.