Medium Trust and oledb access

J

John Dalberg

Hi

I am configuring a server for a shared hosting environment and want to lock
down the server. I changed the trust level to medium but all MySQL apps
can't access any MySQL database. I understand that oledb needs full trust.

Is there a way around this like changing a setting in the
web_mediumtrust.config file? One solution I read was to place database
access assmebly in the assembly. I don't really want to do this everytime a
programmer creates a new one.

My other questions is do I really need medium trust if all sites use
impersonation and and not allow overrides in machine.config? Is setting
impersonation enough for locking the sites so that they can't access the
registry, event log, files outside their folder.. etc?

J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top