hi there,
If you host multiple applications on the same server, you can use code access security and the medium trust level to provide application isolation. By setting and locking the trust level in the machine-level Web.config file, you can establish security policies for all Web applications on the server. Running at medium trust with ASP.NET version 2.0 is easier than with ASP.NET version 1.1 because when using ASP.NET 2.0, you have access to Microsoft SQL Server databases at medium trust. To lock down an ASP.NET application and to provide an additional level of application isolation in a hosted environment, you can use code access security to restrict the resources the application can access and the privileged operations it can perform.
The best approach is to target your trust level before you begin design and development work and to design and develop specifically for this trust level. Common causes of security exceptions when you switch an existing application to medium trust include:
1 - Calling unmanaged code.
2 - Accessing the registry.
3 - Writing to the event log.
4 - Connecting to databases other than SQL Server.
5 - Accessing Web resources on remote servers.
6 - Accessing the file system beyond your application’s virtual directory hierarchy.
If you are looking for a host that supports both Medium and Full Trust Setting, I would recommend ASPHostCentral.com. With a price starting from only $4.99/month, this host is truly a recommended one :)
Hope this helps :)