Running from network drive

From: Russ Kerschner (russk.news.invalid_at_web2news.net)
Date: 06/12/03


Date: Thu, 12 Jun 2003 23:41:10 +0200


Hi, I've seen questions similar to my issue all over the place, but no
answers that worked (for me).

I'm writing an app that needs FileIO permissions. This works fine
running locally, but I get a SecurityException when trying to run on a
network drive.

I've read tons of stuff on .NET security and think I understand fairly
well how it is SUPPOSED to work, but it's not.

I've tried all kinds of approaches, but even things as blunt as setting
Intranet trust to full don't work. The only thing that worked was
disabling security completely through caspol.

In addition, in the .Net Configuration tool I click on my assembly to
evaluate its permissions, and the tool reports that I have full trust,
at all security levels. But I turn around and run the assembly, and it
fails.

Thanks in advance-
Russ

-- 
Direct access to this group with http://web2news.com
http://web2news.com/?microsoft.public.dotnet.security


Relevant Pages

  • Re: Running from network drive
    ... Hi Russ, ... > I've read tons of stuff on .NET security and think I understand fairly ... > Intranet trust to full don't work. ... in the .Net Configuration tool I click on my assembly to ...
    (microsoft.public.dotnet.security)
  • RE: Web Reference and DNS Alias
    ... Thanks for your followup. ... As for the "Security Issue" you mentioned, ... the certain url of the webservice) via the .net configuration tool(in ... Intranet Zone 's trust level to FullTrust to see whether this works. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How to fix permission problem in c#
    ... You can do this in the .NET Configuration tool, but I see no reason you are having an issue with SQL Server, so solving it by dumbing down the security in .NET is not the first direction I would go. ...
    (microsoft.public.dotnet.languages.csharp)
  • CAS policy in ASP.NET
    ... Do ASP.NET applications follow the same CAS policy as .NET exe's? ... where in the .NET Configuration Tool can I set the security ... settings for an ASP.NET application? ...
    (microsoft.public.dotnet.framework.aspnet.security)