PDA

View Full Version : AccessExecute Permissions IIS6 Root of new Site



basher590
11-04-2010, 09:57 AM
Hey,

Does anyone know how I can set accessExecute permissions during install on a site created in IIS6?
I can set it for new Applications within a site, but i want to set it for the actual root site.
i have tried creating an application called root but it does as you'd expect. It creates an application called root within the site.

Please help i am totally stuck on this.

Thanks

Chris

basher590
11-04-2010, 01:28 PM
I figured it out.

just set the site as normal, then go into the direct editor, under ISIISItem find the item number your site is under then go to ISIISProperty beneath it.

Find the accessFlags entry under your IisItem number and set the metadata to the relevant number.
you can find the information for the bit masks (add each one that you need)
here.
http://msdn.microsoft.com/en-us/library/ms525016%28VS.90%29.aspx

In my case I used 519

1 = AccessRead
2 = AccessWrite
4 = AccessExecute
512 = AccessScript

total is 519.
Easy when you know how. :)