Re: CasPol security
From: Chris Rolon (crolon_at_hotmail.com)
Date: 05/25/04
- Next message: Vlad: "Re: Currency Formatting"
- Previous message: Vlad: "Currency Formatting"
- In reply to: Steve: "Re: CasPol security"
- Next in thread: Chris Botha: "Re: CasPol security"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 14:33:25 -0700
You need to figure out the minimum permissions required. This is something
that you should have somewhat of a handle on.
For example, any I/O will require access to the file system. But, are do you
really need access to the file system or just Isolated Storage. these are
different. The application will normally already have access to Isolated
Storage.
Do you require access to the registry, environment variables, printing,
UI...?
These are all questions that must be answered and trust can be applied
accordingly.
If the assembly uses declarative security, use PermView to give you a list
of the required permissions. Otherwise, test the application with an account
that has no additional priviliges.
Chris Rolon
"Steve" <sbianco1@yahoo.com> wrote in message
news:11fad01c44265$33e60820$a601280a@phx.gbl...
> Chris.
>
> I agree with your comments and thus is my concern.
> However, while knowing nothing about security, it seems
> running the Framework wizard "trust assembly" requires
> that application be given full trust.
>
> How can I [begin] to lower the trust level of the
> application?
>
> Steve
> >-----Original Message-----
> >The danger is that the application is being granted more
> rights than
> >necessary. If, somehow, the application were compromised
> through a stack
> >overrun or some other as yet undiscovered vulnerability,
> a hacker could do
> >damage to your system.
> >
> >As a matter of policy applications should not run with
> privileges greater
> >than absolutely necessary. That is why the security model
> has changed and is
> >based on where the code came from rather than on who is
> logged in.
> >
> >--
> >
> >Chris Rolon
> >
> >This posting is provided "AS IS" with no warranties, and
> confers no rights.
> >
> ><anonymous@discussions.microsoft.com> wrote in message
> >news:11dba01c44251$77d1aa30$a301280a@phx.gbl...
> >> Whats the danger in doing:
> >>
> >> C:\...\caspol -enterprise -addfulltrust L:\foo.exe
> >>
> >> foo is a local network (non-web based) application that
> >> references internal databases and general web based
> >> information sites.
> >>
> >> Steve
> >
> >
> >.
> >
- Next message: Vlad: "Re: Currency Formatting"
- Previous message: Vlad: "Currency Formatting"
- In reply to: Steve: "Re: CasPol security"
- Next in thread: Chris Botha: "Re: CasPol security"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|