I need to allow untrusted providers in IIS7. I think that this is accomplished by editing the trustedProviders section of Administrator.config, but I don't know exactly how to do this.
I want to do this so that I can manage users directly from IIS7's gui.
Is it a text file? Where is it? If I can't edit it directly, how do I do it?
Sorry about that - to allow untrusted providers:
edit the trustedProviders node to have the new key/value: allowUntrustedProviders="true". It should look like this:
trustedProviders allowUntrustedProviders="true"
save the file
I believe you will get warning messages in IIS Manager when you try to edit roles/users, but it should work. Also, Microsoft recommends against using untrusted providers due to security concerns.
First thing you need to do is make sure the assembly for your provider is signed, strongly-named and stored in the GAC. Get the Culture, Version and Public Key Token values for your assembly out of the GAC
Edit the file: c:\windows\system32\inetsrv\config\administration.config
Find the trustedProviders section, and add a new line for your provider as follows:
(where the type name, version, culture and publickeytoken are what you pulled out of the GAC)
Save the file
iisreset
In the web.config file for your site, make sure that the provider is referenced using the fully qualified assembly type name, and you should be good to go.