David
Thu Apr 06 02:03:40 CDT 2006
What you want to do is not really supported by metabase.xml. It isn't
something we intended to support, so we certainly have never tried it.
This is really something that we address with IIS7 configuration design
(distributed, xcopy deployable xml configuration). Basically, you will
forever need to hack with IIS6 configuration due to reasons such as:
- Metabase ACLs are machine-specific encrypted
- AnonymousUserPass, WAMUserPass, and UNCPassword are machine-specific
encrypted
- AnonymousUserName, WAMUserName, and UNCUserName are machine specific
- Filepaths in LogDirectory, Path, FilterPath, ScriptMap, HttpError are
machine specific
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"moke" <brutus@newsgroups.nospam> wrote in message
news:3974C872-45F1-4404-B6CF-222266575133@microsoft.com...
> This article
> <
http://thesource.ofallevil.com/technet/prodtechnol/WindowsServer2003/Library/IIS/aa7f3ea9-0639-475f-b6c7-883cbde6f3a0.mspx?mfr=true>
>
> states the following:
>
> "Do not manually change encrypted properties in MetaBase.xml. There is no
> way to encrypt your data before inserting it by using Notepad or another
> text
> editor. Only WMI, ADSI, or ABOs can be used to change the data in
> encrypted
> properties."
>
> I found the answer to my question. Encrypted values can only be set by
> using an API. Transformation or search/replace will not work for
> encrypted
> values.
>
> If I wanted to pursue this further, I would look at setting encryptd
> values
> as a post-transformation process where values "to be encrypted" are stored
> as
> part of server-specific values. Of course, proper safeguards would be
> necessary to protect clear text values that will be encrypted at
> deployment
> time.
>
> ""WenJun Zhang[msft]"" wrote:
>
>> Hi,
>>
>> This is possible but a difficulty here is metabase also stores encrypted
>> user permission set(ACL) which is also machine specific. You can run
>> Metabase Explorer utility to have a look.
>>
>> Internet Information Services (IIS) 6.0 Resource Kit Tools
>>
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=56fc
>> 92ee-a71a-4c73-b628-ade629c89499
>>
>> The standard way to manage IIS metabase is still using its ADSI provider:
>>
>> IIS ADSI Provider
>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html
>> /5db1a0cc-bd28-467f-bd32-79d743a4fcc3.asp
>>
>> Best regards,
>>
>> WenJun Zhang
>> Microsoft Online Partner Support
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>>
>>