Page 1 of 1

Windows Security Problems

Posted: Tue Nov 14, 2006 3:14 am
by AJ
Hello,

I have created a small application at work, which calculates costs based on invoices (nothing fancy). As with a lot of my Windows programming, it is written in c#.

Because I sometimes need to change the (hard coded) formulae, I have put the executable on the server, and each client has a shortcut, which was fine.

Then, I 'updated' to IE7 :roll: . Now, each time the programs are run, we get a security warning about running the remote program. The program still works, but it is a little annoying!

Does anyone know how to solve this? (remarks about uninstalling IE or using proper languages ignored :wink: )

Thanks in advance,
Adam

Posted: Tue Nov 14, 2006 7:26 am
by Midas
You can add the location where the application is stored to one of IE's lower security settings (Trusted Sites perhaps) and adjust security settings there. This might be possible to roll out via group policy, but I haven't ever tried that.

Posted: Tue Nov 14, 2006 7:41 am
by AJ
Thanks for this. I changed the IE security property to 'Trusted' as suggested, and I found that I also had to edit security permissions in the .NET configuration area of control panel to allow my app to run correctly with no warnings.

Cheers,
Adam

Posted: Tue Nov 14, 2006 7:02 pm
by kataklinger
Have you considered using ClickOnce?

Posted: Wed Nov 15, 2006 3:56 am
by AJ
kataklinger wrote:Have you considered using ClickOnce?
Thanks for this. I had never investigated clickonce deployment. I'm reading the MSDN articles on it now...

Cheers,
Adam