I want to have methods which check "fingerprints" of the invoker. For example: I got a method which modifies some values. A third-party class should not be allowed to modify value "ID", but internal classes should be allowed.
I don't want to commit the class' type so that the method could check if this class is in one of the assemblies which are allowed. Is there the possibility that this type is automatically committed?
Or are there any alternatives for this? It's because my application allows AddIns. And those should be restricted in some actions. For this reason I need a very flexible system, which does not require much code additions or complex stuff for every method.
Thanks