Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2004

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
assaf - 23 Oct 2004 23:08 GMT
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
Richard Blewett [DevelopMentor] - 25 Oct 2004 17:33 GMT
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
assaf - 26 Oct 2004 07:19 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.