Page 1 of 1
Medium trust
Posted: Tue 06 Feb 2007 06:07
by cesarvegamx
Does your MySQL connector works in a shared hosting using medium trust?
Posted: Tue 06 Feb 2007 06:36
by Alexey
Yes, broadly speaking, it does work.
Are you using direct/non-direct mode?
Are you going to install MySQLDirect .NET on a hosting providers' machine?
Posted: Tue 06 Feb 2007 15:43
by cesarvegamx
Not install. Just deploy an application in a hosting provider.
I don't know what exactly is that direct/non-direct mode, the idea is to just use it as any other provider, just like I use the one for SQL Server.
Posted: Wed 07 Feb 2007 07:08
by Alexey
If you use direct mode, you will need SocketPermissions in addition to default medium trust settings.
If you use non-direct mode, you'll need to set UnmanagedCode flag in SecurityPermission class.
The difference in direct/non-direct modes is that in non-direct mode you use libmySQL.dll to connect to a server. For more information about this please refer to our documentation.