Home All Groups Group Topic Archive Search About

How can I "script" changes to .net trust levels?

Author
28 Dec 2005 6:54 PM
hayesgitsupport
I am trying to "fix" a program for a friend of mine.  He has an applet that
starts a TWAIN scanner through a web interface.  Problem is, for some reason,
his software will only work if the .NET security for "my computer", "local
intranet" "internet" Trusted sites" and "untrusted sites" is set to full
trust.  Obviously the software is not written 100% properly, but the person
who he had program it is not around for some reason. 

Long story short, is there a way to have the install script that installs
this package (it is an applet we install locally, not one we call over the
web), change the trust levels automatically? 

I know VERY little about .NET (assume your Grandmother knows more about .NET
than I do), so if you can, please be gentle...

Author
28 Dec 2005 9:09 PM
Rob Schieber
hayesgitsupport wrote:
> I am trying to "fix" a program for a friend of mine.  He has an applet that
> starts a TWAIN scanner through a web interface.  Problem is, for some reason,
> his software will only work if the .NET security for "my computer", "local
> intranet" "internet" Trusted sites" and "untrusted sites" is set to full
> trust.  Obviously the software is not written 100% properly, but the person
> who he had program it is not around for some reason. 
>
> Long story short, is there a way to have the install script that installs
> this package (it is an applet we install locally, not one we call over the
> web), change the trust levels automatically? 
>
> I know VERY little about .NET (assume your Grandmother knows more about .NET
> than I do), so if you can, please be gentle...

Hi,

I don't think its possible to script trust levels.  Doing so would open
a huge security hole for virus writers, malicious code etc...

--
Rob Schieber
Author
29 Dec 2005 12:31 AM
hayesgitsupport
That is what I thought...

Is there a way then to allow .net trust to be changed for a specific program
during an installation routine?  Or is there anyone who knows where the
changes are stored?

Show quote
"Rob Schieber" wrote:

> hayesgitsupport wrote:
> > I am trying to "fix" a program for a friend of mine.  He has an applet that
> > starts a TWAIN scanner through a web interface.  Problem is, for some reason,
> > his software will only work if the .NET security for "my computer", "local
> > intranet" "internet" Trusted sites" and "untrusted sites" is set to full
> > trust.  Obviously the software is not written 100% properly, but the person
> > who he had program it is not around for some reason. 
> >
> > Long story short, is there a way to have the install script that installs
> > this package (it is an applet we install locally, not one we call over the
> > web), change the trust levels automatically? 
> >
> > I know VERY little about .NET (assume your Grandmother knows more about .NET
> > than I do), so if you can, please be gentle...
>
> Hi,
>
> I don't think its possible to script trust levels.  Doing so would open
> a huge security hole for virus writers, malicious code etc...
>
> --
> Rob Schieber
>

AddThis Social Bookmark Button