Update PluginSecurity.dll

Didn't want to change the interface so just implemented internally