Security: Shared Drive and EXE

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Eric (Eric_at_discussions.microsoft.com)
Date: 12/16/04


Date: Wed, 15 Dec 2004 16:11:05 -0800

Hi,

I have an WinForms-Exe which will be started from a Shared Network-Drive.
Without configuration I get a security exception (FileIO-Permission).

Which is the best way to give this EXE or drive the same rights as an EXE in
'Local Computer' zone?

- Sign the EXE and use the 'Trust assembly' wizard?
- Or add the drive to another zone?

Or are there other possibilites?

Thanks
Eric



Relevant Pages

  • Shared Drive and EXE
    ... Without configuration I get a security exception (FileIO-Permission). ... Which is the best way to give this EXE or drive the same rights as an EXE in ... 'Local Computer' zone? ...
    (microsoft.public.dotnet.security)
  • Re: Code Access Policy Zone Problem
    ... I ran caspol.exe to see what code groups the EXE was in and was surprised to see that it was in the Internet group rather than the Intranet group. ... So, long story short, one of my computers seems to believe that its own shares are in the Internet zone and not the Intranet zone. ...
    (microsoft.public.dotnet.security)
  • Security exception when calling managed dll that calls unmanaged COM object
    ... I have a c# exe that is dynamically loading a C# class library on startup. ... The class library references a COM object written in unmanaged c++. ... >From whe exe when I call a function in the c# class library and it in turn calls a function in the COM object I get a security exception. ...
    (microsoft.public.dotnet.security)
  • Unhandled Exception on deployment - otherwise no exceptions
    ... The setup project seems to be including all the proper dependencies and I have tried both debug and release configurations. ... I am running the exe from a local drive, so I do not think it is a security exception. ...
    (microsoft.public.dotnet.languages.vb)
  • unhandled exception after deployment
    ... The setup project seems to be including all the proper dependencies and I have tried both debug and release configurations. ... I am running the exe from a local drive, so I do not think it is a security exception. ...
    (microsoft.public.dotnet.languages.vb)