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

G

Guest

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...
 
R

Rob Schieber

hayesgitsupport said:
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...
 
G

Guest

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top