Can an Assert issued following a Deny override it?
From: Novice (6tc1ATqlinkDOTqueensuDOTca)
Date: 08/24/04
- Next message: Sankar Nemani: "code access security with URL condition"
- Previous message: Steve Hiner (331841): "How can I control folder permissions when creating a folder"
- Next in thread: Novice: "RE: Can an Assert issued following a Deny override it?"
- Reply: Novice: "RE: Can an Assert issued following a Deny override it?"
- Reply: Shawn Farkas: "RE: Can an Assert issued following a Deny override it?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 24 Aug 2004 07:21:01 -0700
Another poster wrote:
------------------
Additionally, assuming I have FullTrust, and I write the .dll that doesn't
have correct public key (so you try to block me from the file), all I have to
do is do an Assert on that permission, and the Assert will be found in the
callstack before your deny, allowing me access to the directory.
------------------
Is it the case that you can override an existing Deny that my application has
already specified?
I.E. if I write an application and the first line of code I put is a "Deny"
on File IO to the C drive and then I invoke code (exp a method) in your
assembly - you can subsequently write an Assert that will override the Deny
that has already been processed (and yes this assumes your assembly has full
trust)?
Thanks,
Novice
PS If the above is true - what permission in .Net would stop someone from
being able to override a previously issued Deny?
- Next message: Sankar Nemani: "code access security with URL condition"
- Previous message: Steve Hiner (331841): "How can I control folder permissions when creating a folder"
- Next in thread: Novice: "RE: Can an Assert issued following a Deny override it?"
- Reply: Novice: "RE: Can an Assert issued following a Deny override it?"
- Reply: Shawn Farkas: "RE: Can an Assert issued following a Deny override it?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|