This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > March 2006 > Application Mappings and IIS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Application Mappings and IIS
Mutley

2006-02-06, 8:04 am

Hi,
I have a custom HttpHandler to handle requests for custom pages and
I want to programmatically add an Application Mapping into IIS for this
handler.
What security rights will be required to add the mapping into IIS? Will
it be necessry to be logged on as an Administrator for the machine? Do
you know of any sample code showing the API calls that can be used for
adding an application mapping?

Thanks in advance for any help
John

Chris Crowe [MVP 1997 -> 2006]

2006-02-06, 8:48 pm

Try this article:

www.iisfaq.com/Default.aspx?tabid=2792

Note: Always backup the IIS metabase prior to running scripts such as this!

--

Cheers

Chris Crowe [IIS MVP 1997 -> 2006]
http://blog.crowe.co.nz
------------------------------------------------


"Mutley" <John.Nugent@Singularity.co.uk> wrote in message
news:1139230685.074802.283840@g43g2000cwa.googlegroups.com...
> Hi,
> I have a custom HttpHandler to handle requests for custom pages and
> I want to programmatically add an Application Mapping into IIS for this
> handler.
> What security rights will be required to add the mapping into IIS? Will
> it be necessry to be logged on as an Administrator for the machine? Do
> you know of any sample code showing the API calls that can be used for
> adding an application mapping?
>
> Thanks in advance for any help
> John
>



David Wang [Msft]

2006-02-07, 6:02 pm

By default only Administrators can change IIS configuration such as
Application Mapping.

Script Tools like the following can be used for adding an Application
Mapping (since ScriptMaps is just a LIST property):
http://blogs.msdn.com/david.wang/ar.../02/273681.aspx

It is a complete tool for the job you are talking about. Of course you get
the source code so you can see how it is done.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Mutley" <John.Nugent@Singularity.co.uk> wrote in message
news:1139230685.074802.283840@g43g2000cwa.googlegroups.com...
> Hi,
> I have a custom HttpHandler to handle requests for custom pages and
> I want to programmatically add an Application Mapping into IIS for this
> handler.
> What security rights will be required to add the mapping into IIS? Will
> it be necessry to be logged on as an Administrator for the machine? Do
> you know of any sample code showing the API calls that can be used for
> adding an application mapping?
>
> Thanks in advance for any help
> John
>



Drew

2006-03-16, 5:53 pm

"By default only Administrators can change IIS configuration such as
Application Mapping"

How can I change this? I'd like to allow an IISadmin to do all IIS tasks
but not have them in the adminstrators group. Can it be done?

Thanks


"David Wang [Msft]" wrote:

> "By default only Administrators can change IIS configuration such as
> Application Mapping."
>
> Script Tools like the following can be used for adding an Application
> Mapping (since ScriptMaps is just a LIST property):
> http://blogs.msdn.com/david.wang/ar.../02/273681.aspx
>
> It is a complete tool for the job you are talking about. Of course you get
> the source code so you can see how it is done.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
>
> "Mutley" <John.Nugent@Singularity.co.uk> wrote in message
> news:1139230685.074802.283840@g43g2000cwa.googlegroups.com...
>
>
>

David Wang [Msft]

2006-03-17, 2:57 am

Cannot be done with any existing IIS version. You will need to look at
various Control Panel web applications for this.


We are making delegated administration available in IIS7. You don't even
need to be a Windows user to get delegated administration of an IIS7 website
through the UI.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Drew" <Drew@discussions.microsoft.com> wrote in message
news:1D3A5DF1-0EC6-4026-973A-0044DCDFC3D1@microsoft.com...[vbcol=seagreen]
> "By default only Administrators can change IIS configuration such as
> Application Mapping"
>
> How can I change this? I'd like to allow an IISadmin to do all IIS tasks
> but not have them in the adminstrators group. Can it be done?
>
> Thanks
>
>
> "David Wang [Msft]" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2010 webservertalk.com