PC Review


Reply
Thread Tools Rate Thread

.NET Intranet Zone Permission to Full Trust??

 
 
bashir.aamir@principal.com
Guest
Posts: n/a
 
      6th Sep 2005
I build installs for our software CD. One of the application is a
vendor app and we don't have access to the code. They recently
implemented .Net platform. When we received their latest updates, we
are having problems with LAN/Network installs. One of the function is
to create a pdf document and gives you an option to print. I am
getting .NET security errors. One error box has WsPrint.exe as title
and throws in an exception. Another message is Microsoft .NET
framework error saying application has attempted to perform an
operation not allowed by security policy. If I go in
Control-Panel-Admin Settings -.NET Framework 1.1 Configuration -
Runtime Security Policies, and change the LocalIntranetZone from medium
trust to FULL trust, I resolve all of the my issues.

It only happens in Server installs, stand-alone PCs are fine.
Obviously this is not a good solution to change user's security. Is
there a work around? I am using install shield 5.1 to create our
installs.

Thank you,
Aamir.

 
Reply With Quote
 
 
 
 
Richard Blewett [DevelopMentor]
Guest
Posts: n/a
 
      6th Sep 2005
If the vendor's code is strong named you could create a code group that gave FullTrust to code with that strong name and put it under the LocalIntranet code group.

For this to work you will have to alter the security policy on the machine in some way.

The reason standalone installs work is because the code is running off the LocalMachine zone and so has full trust

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

I build installs for our software CD. One of the application is a
vendor app and we don't have access to the code. They recently
implemented .Net platform. When we received their latest updates, we
are having problems with LAN/Network installs. One of the function is
to create a pdf document and gives you an option to print. I am
getting .NET security errors. One error box has WsPrint.exe as title
and throws in an exception. Another message is Microsoft .NET
framework error saying application has attempted to perform an
operation not allowed by security policy. If I go in
Control-Panel-Admin Settings -.NET Framework 1.1 Configuration -
Runtime Security Policies, and change the LocalIntranetZone from medium
trust to FULL trust, I resolve all of the my issues.

It only happens in Server installs, stand-alone PCs are fine.
Obviously this is not a good solution to change user's security. Is
there a work around? I am using install shield 5.1 to create our
installs.

Thank you,
Aamir.


[microsoft.public.dotnet.framework]
 
Reply With Quote
 
Aamir
Guest
Posts: n/a
 
      6th Sep 2005
IS there a work around without having to mess around with intranet
settings on the user's machine?

Thanks,
Aamir.
----------------------------------------------
bashir.aa...@principal.com wrote:
> I build installs for our software CD. One of the application is a
> vendor app and we don't have access to the code. They recently
> implemented .Net platform. When we received their latest updates, we
> are having problems with LAN/Network installs. One of the function is
> to create a pdf document and gives you an option to print. I am
> getting .NET security errors. One error box has WsPrint.exe as title
> and throws in an exception. Another message is Microsoft .NET
> framework error saying application has attempted to perform an
> operation not allowed by security policy. If I go in
> Control-Panel-Admin Settings -.NET Framework 1.1 Configuration -
> Runtime Security Policies, and change the LocalIntranetZone from medium
> trust to FULL trust, I resolve all of the my issues.
>
> It only happens in Server installs, stand-alone PCs are fine.
> Obviously this is not a good solution to change user's security. Is
> there a work around? I am using install shield 5.1 to create our
> installs.
>
> Thank you,
> Aamir.


 
Reply With Quote
 
Richard Blewett [DevelopMentor]
Guest
Posts: n/a
 
      6th Sep 2005
Is there a way to circumvent the Code Access Security subsystem? Lets hope not!

You could on a managed network distrbute the Enterprise policy that had the permissions constructed as you want and set it to override subordinate policies

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

IS there a work around without having to mess around with intranet
settings on the user's machine?

Thanks,
Aamir.

 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting the intranet zone on all PC's in my company grego Windows XP Internet Explorer 0 15th Apr 2008 05:53 PM
Intranet zone full trust in vista Bryan Microsoft Dot NET Framework 5 24th Jan 2007 04:26 AM
Intranet Security zone =?Utf-8?B?YWRlc2Fp?= Windows XP Security 0 22nd Sep 2005 02:11 PM
Intranet Zone Avellar Windows XP Internet Explorer 0 27th Aug 2003 03:24 PM
Adjusting security policy to give full trust to intranet code Vinay Chaudhari Microsoft Dot NET Framework 0 6th Aug 2003 01:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:55 PM.