you'll need to change the CAS security policy on the client machines so that they allow your code greater than the default permissions. If you have control over the clients you can distribute policy via AD or similar, if not you'll have to persaude the users to run some kind of MSI to adjust the policy
Regards
Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
hi all
i have an app.
i allow my users to simply click on a web link
and it runs.
i want this app to be able to open sockets
and files.
how can i allow my app to run from the web
yet be able to open sockets?
assaf
hi richard.
my app is a dot net chat client.
it is runnable directly from the web.
it is not 'installed'.
i cannot nor do i want to
tell my clients to configure anything
in their machines for me.
i want my app to request from the RunTime
permission to open a socket.
i excpect the RunTime to confirm this with the user,
and grant my app the permission,
(or refuse the grant, and tell my app).
is there a way to do this?
assaf
> you'll need to change the CAS security policy on the client machines so that they allow your code greater than the default permissions. If you have
control over the clients you can distribute policy via AD or similar, if not
you'll have to persaude the users to run some kind of MSI to adjust the
policy
> Regards
>
[quoted text clipped - 13 lines]
>
> assaf