If I use this line of code in my asp.net app:
AppDomain.CurrentDomain.GetAssemblies().GetTypes()
Would someone be able to create a code injection attack if they drop a dll in my bin folder? Doesn't this code dynamically load the assembly, which would allow the code to run its static constructor? Or am thinking of this the wrong way?