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 / Languages / C# / May 2008

Tip: Looking for answers? Try searching our database.

Sandboxing using AppDomain - Trust No One

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robson Felix - 16 May 2008 16:40 GMT
Hi,

I am trying to implement an AppDomain to load addin assemblies (loaded in
memory using an array of bytes) for a project I am working on and what I
basically want is:

a) deny access to any local files in all drives
b) deny network access to any internal network addresses
c) deny network access to any external addresses
d) allow unrestricted access to a particular drive
e) allow network access to a particular IP range

I am trying to do that through PermissionSet's but it is not working. I
tried to find information on the web without success.

Any thoughts?

Thanks,
Robson
qglyirnyfgfo@mailinator.com - 16 May 2008 20:40 GMT
Here is a link to a nice document describing CAS:

http://msdn.microsoft.com/en-us/library/aa302424.aspx

> Hi,
>
[quoted text clipped - 15 lines]
> Thanks,
> Robson
Robson Felix - 16 May 2008 23:33 GMT
I already saw this document but I was looking for something more practical.
Even though I applied some of what was exposed there, still didn't work.

Here is a link to a nice document describing CAS:

http://msdn.microsoft.com/en-us/library/aa302424.aspx

On May 16, 10:40 am, "Robson Felix" <rob...@robsonfelix.com> wrote:
> Hi,
>
[quoted text clipped - 15 lines]
> Thanks,
> Robson
Alex Meleta - 17 May 2008 10:23 GMT
Hi Robson,

Is System.AddIn (.net 3.5) a way? http://www.dsmyth.net/wiki/Articles_SystemAddin.ashx 

Regards, Alex :: http://devkids.blogspot.co

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.