.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 18th, 2003, 05:06 AM
maxm007 maxm007 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 1 maxm007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Security policies and .NET "Applets"

Hi,
I'm currently developping a browser-run winform IRC Chat Control. (.net activex controls or .net applets)
Now that control uses sockets so the user needs to do a whole bunch of security steps before it will run.

I've been able to make it work for the user by :
1) Configuring IE and adding URL (the site the chat runs on) as trusted site.
2) Granting full trust in the .NET Framework configuration's "adjust security" wizard.

I know the Full trust permission set is a bit of an overkill , but it doesn't matter right now.

So every potential user has to go to the Control Panel and fiddle with settings. That can't be how it should be done!?
Is there an equivalent to Signed ActiveX Controls? A better way to do the above , with minimal to none user intervention?

I'm currently investigating Deployment Packages , which is supposed to be an msi users have to run that updates their .net security policies. So I tried making one that adds an IRCChat codegroup at machine level. This codegroup uses a hashcode of the assembly as evidence to grant full trust. I even used the "evaluate assembly" wizard to make sure my assembly gets that grant and it does. But it didn't work. Apparantly I can only make it work by changing the security policies for the internet zone to full trust. Which is ofcourse unacceptable and It would be irresponsible to make my users run that .msi installer.

It's really hard to find good information about this on the net.
What is the correct name for .net "applets"?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > Security policies and .NET "Applets"


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT