Windows Security Problems

Programming, for all ages and all languages.
Post Reply
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Windows Security Problems

Post 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
Midas
Member
Member
Posts: 140
Joined: Sat Jun 24, 2006 4:40 pm
Location: Falkirk, Scotland
Contact:

Post 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.
Regards,
Angus [Óengus] 'Midas' Lepper
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post 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
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

Post by kataklinger »

Have you considered using ClickOnce?
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post 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
Post Reply