Medium Trust and oledb access

Discussion in 'ASP .Net Security' started by John Dalberg, Jul 9, 2004.

  1. John Dalberg

    John Dalberg Guest

    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.
    John Dalberg, Jul 9, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul Hatcher

    Medium Level Trust and Reflection

    Paul Hatcher, Feb 25, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    472
    Paul Hatcher
    Feb 25, 2005
  2. Mukesh
    Replies:
    3
    Views:
    541
    Steven Cheng[MSFT]
    Jul 10, 2007
  3. Michael Howes
    Replies:
    5
    Views:
    471
    John Saunders
    Aug 30, 2008
  4. Ondrej Valenta

    GetCompiledPageInstance and Medium trust application level

    Ondrej Valenta, Jun 28, 2006, in forum: ASP .Net Security
    Replies:
    1
    Views:
    272
    Dominick Baier [DevelopMentor]
    Jun 28, 2006
  5. Linda
    Replies:
    1
    Views:
    534
    Dominick Baier
    Aug 31, 2006
Loading...

Share This Page