how to allow an app running from the internet to download a file?

A

assaf

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
 
R

Richard Blewett [DevelopMentor]

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
 
A

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



Richard Blewett said:
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
 

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