Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

iis 6 ignoring NTFS permissions

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Web root directory  
Author Message
Littlelegs

External


Since: Jan 28, 2007
Posts: 2



(Msg. 1) Posted: Sun Jan 28, 2007 10:48 am
Post subject: iis 6 ignoring NTFS permissions
Archived from groups: microsoft>public>inetserver>iis (more info?)

We have set up a clean server, installed IIS 6 and created a new Virtual
Directory from a UNC share that has very specific NTFS permissions on the
various folders. We have set it for Integrated Windows Authentication but the
NTFS permissions are being ignored - ie NTFS permissions even had a specific
deny for a user and they could still get access.

If Integrated Windows Authentication is set, does the access take the
Administrator credentials from the account that set up the Virtual Directory?
(Though I can't see this being the case thought I should ask...)

On my home network, if I set Anonymous access with ISUR_Computername, the
NTFS permissions apply sporadically but at least the error is with access
denied (401.3) rather than open permissions.

We are setting this up for a trial with the Google appliance. It has to be
complicated this way because the appliance doesn't yet take folder/file
permissions into account when serving pages internally for a Enterprise - any
folders crawled are accessible to all... apparently this is getting fixed for
March sometime.

I would love to hear from anyone else using the Google appliance and the
steps involved in setting up...

 >> Stay informed about: iis 6 ignoring NTFS permissions 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 2) Posted: Sun Jan 28, 2007 4:33 pm
Post subject: Re: iis 6 ignoring NTFS permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

IIS6 is not "ignoring" NTFS permissions in a UNC directory. And ACLs
do not sporadically apply. The core Windows NT security features are
solid and won't allow that.

What your observations show is that you have some combination of:
1. inadequately ACL'd the NTFS and UNC share
2. Misordered ACLs on the resources
3. you have misconfigured IIS6.

FYI: The behavior that you want is possible, but not with your current
configuration. Please read this URL on how to do it:
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/
technologies/webapp/iis/remstorg.mspx



//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



On Jan 28, 10:48 am, Littlelegs <Littlel....TakeThisOut@discussions.microsoft.com>
wrote:
> We have set up a clean server, installed IIS 6 and created a new Virtual
> Directory from a UNC share that has very specific NTFS permissions on the
> various folders. We have set it for Integrated Windows Authentication but the
> NTFS permissions are being ignored - ie NTFS permissions even had a specific
> deny for a user and they could still get access.
>
> If Integrated Windows Authentication is set, does the access take the
> Administrator credentials from the account that set up the Virtual Directory?
> (Though I can't see this being the case thought I should ask...)
>
> On my home network, if I set Anonymous access with ISUR_Computername, the
> NTFS permissions apply sporadically but at least the error is with access
> denied (401.3) rather than open permissions.
>
> We are setting this up for a trial with the Google appliance. It has to be
> complicated this way because the appliance doesn't yet take folder/file
> permissions into account when serving pages internally for a Enterprise - any
> folders crawled are accessible to all... apparently this is getting fixed for
> March sometime.
>
> I would love to hear from anyone else using the Google appliance and the
> steps involved in setting up...

 >> Stay informed about: iis 6 ignoring NTFS permissions 
Back to top
Login to vote
Littlelegs

External


Since: Jan 28, 2007
Posts: 2



(Msg. 3) Posted: Sun Jan 28, 2007 6:07 pm
Post subject: Re: iis 6 ignoring NTFS permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you for your quick response Smile

I know the ACL's are correct because these shares are productions shares
currently mapped to many users and they permissions are correct.

I have no problem with the idea that iis 6 is configured incorrectly but
haven't discerned where the setup is incorrect, if you can point me in the
right direction I'd appreciate it Wink

It was very odd today though (hence sporadically) that I changed the
permissions numerous times - they seemed to be behaving but at one point when
I removed a group for access and the user was appropriately denied, when I
added the group back on it, the user stayed denied.... I had to leave it for
a while and then when I simply refreshed later to pick up where I had left
off, 'magically' the permissions worked as expected. Anyways, I am not having
any problems duplicating the correct results and making the permission work
as expected using anonymous authentication.

I had already looked over the webpage you mentioned however, the problem
that I am having is that if I change the Virtual Directory to authenticate
with Integrated Windows Authentication, the NTFS permissions are not obeyed.
With the directory I was testing (above) making the permissions work right
only happens when the logon is via Anonymous as soon as I switched it to
Integrated Windows - two subdirectories that a user was not able to access
previously are now open w/o adjusting the acl.

So any clues as to why this is the behaviour (that is rather unexpected to
me) is occuring and how to correct the issue so that Integrated Windows
Authentication obeys NTFS permissions would be greatly appreciated.





"David Wang" wrote:

> IIS6 is not "ignoring" NTFS permissions in a UNC directory. And ACLs
> do not sporadically apply. The core Windows NT security features are
> solid and won't allow that.
>
> What your observations show is that you have some combination of:
> 1. inadequately ACL'd the NTFS and UNC share
> 2. Misordered ACLs on the resources
> 3. you have misconfigured IIS6.
>
> FYI: The behavior that you want is possible, but not with your current
> configuration. Please read this URL on how to do it:
> http://www.microsoft.com/technet/prodtechnol/windowsserver2003/
> technologies/webapp/iis/remstorg.mspx
>
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
> On Jan 28, 10:48 am, Littlelegs <Littlel... RemoveThis @discussions.microsoft.com>
> wrote:
> > We have set up a clean server, installed IIS 6 and created a new Virtual
> > Directory from a UNC share that has very specific NTFS permissions on the
> > various folders. We have set it for Integrated Windows Authentication but the
> > NTFS permissions are being ignored - ie NTFS permissions even had a specific
> > deny for a user and they could still get access.
> >
> > If Integrated Windows Authentication is set, does the access take the
> > Administrator credentials from the account that set up the Virtual Directory?
> > (Though I can't see this being the case thought I should ask...)
> >
> > On my home network, if I set Anonymous access with ISUR_Computername, the
> > NTFS permissions apply sporadically but at least the error is with access
> > denied (401.3) rather than open permissions.
> >
> > We are setting this up for a trial with the Google appliance. It has to be
> > complicated this way because the appliance doesn't yet take folder/file
> > permissions into account when serving pages internally for a Enterprise - any
> > folders crawled are accessible to all... apparently this is getting fixed for
> > March sometime.
> >
> > I would love to hear from anyone else using the Google appliance and the
> > steps involved in setting up...
>
>
 >> Stay informed about: iis 6 ignoring NTFS permissions 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 4) Posted: Mon Jan 29, 2007 2:39 am
Post subject: Re: iis 6 ignoring NTFS permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Please re-read the article again. You are missing details from it
regarding Integrated Authentication and pass-thru authentication onto
a UNC virtual directory. In particular, you need to understand and
configure delegation.

I am confused by your other experiments involving anonymous
authentication -- it has no relevance with your Integrated
Authentication/Pass-thru authentication observations. Integrated
Authentication(NTLM) is subject to double-hop and lacks delegation
while anonymous is totally different security-wise, so the two
experiments are not comparable.

I highly suggest re-reading and following the URL I provided because
it answers all your questions and gives you step-by-step instructions
on how to correctly configure your scenario.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


On Jan 28, 6:07 pm, Littlelegs <Littlel....TakeThisOut@discussions.microsoft.com>
wrote:
> Thank you for your quick response Smile
>
> I know the ACL's are correct because these shares are productions shares
> currently mapped to many users and they permissions are correct.
>
> I have no problem with the idea that iis 6 is configured incorrectly but
> haven't discerned where the setup is incorrect, if you can point me in the
> right direction I'd appreciate it Wink
>
> It was very odd today though (hence sporadically) that I changed the
> permissions numerous times - they seemed to be behaving but at one point when
> I removed a group for access and the user was appropriately denied, when I
> added the group back on it, the user stayed denied.... I had to leave it for
> a while and then when I simply refreshed later to pick up where I had left
> off, 'magically' the permissions worked as expected. Anyways, I am not having
> any problems duplicating the correct results and making the permission work
> as expected using anonymous authentication.
>
> I had already looked over the webpage you mentioned however, the problem
> that I am having is that if I change the Virtual Directory to authenticate
> with Integrated Windows Authentication, the NTFS permissions are not obeyed.
> With the directory I was testing (above) making the permissions work right
> only happens when the logon is via Anonymous as soon as I switched it to
> Integrated Windows - two subdirectories that a user was not able to access
> previously are now open w/o adjusting the acl.
>
> So any clues as to why this is the behaviour (that is rather unexpected to
> me) is occuring and how to correct the issue so that Integrated Windows
> Authentication obeys NTFS permissions would be greatly appreciated.
>
>
>
> "David Wang" wrote:
> > IIS6 is not "ignoring" NTFS permissions in a UNC directory. And ACLs
> > do not sporadically apply. The core Windows NT security features are
> > solid and won't allow that.
>
> > What your observations show is that you have some combination of:
> > 1. inadequately ACL'd the NTFS and UNC share
> > 2. Misordered ACLs on the resources
> > 3. you have misconfigured IIS6.
>
> > FYI: The behavior that you want is possible, but not with your current
> > configuration. Please read this URL on how to do it:
> >http://www.microsoft.com/technet/prodtechnol/windowsserver2003/
> > technologies/webapp/iis/remstorg.mspx
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Jan 28, 10:48 am, Littlelegs <Littlel....TakeThisOut@discussions.microsoft.com>
> > wrote:
> > > We have set up a clean server, installed IIS 6 and created a new Virtual
> > > Directory from a UNC share that has very specific NTFS permissions on the
> > > various folders. We have set it for Integrated Windows Authentication but the
> > > NTFS permissions are being ignored - ie NTFS permissions even had a specific
> > > deny for a user and they could still get access.
>
> > > If Integrated Windows Authentication is set, does the access take the
> > > Administrator credentials from the account that set up the Virtual Directory?
> > > (Though I can't see this being the case thought I should ask...)
>
> > > On my home network, if I set Anonymous access with ISUR_Computername, the
> > > NTFS permissions apply sporadically but at least the error is with access
> > > denied (401.3) rather than open permissions.
>
> > > We are setting this up for a trial with the Google appliance. It has to be
> > > complicated this way because the appliance doesn't yet take folder/file
> > > permissions into account when serving pages internally for a Enterprise - any
> > > folders crawled are accessible to all... apparently this is getting fixed for
> > > March sometime.
>
> > > I would love to hear from anyone else using the Google appliance and the
> > > steps involved in setting up...- Hide quoted text -- Show quoted text -
 >> Stay informed about: iis 6 ignoring NTFS permissions 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
WebDAV ignoring NTFS permissions - If I setup a website in IIS 6 with WebDAV enabled and give the IUSR_{machine.name} account no permissions (not sure what happens if i explictly deny) to the root of the directory, why can I successfully issue an HTTP PUT command in the root of the..

Permissions Help Needed - I am an administrator on my own local box and am trying to access IIS locally (not over the network). If I goto my web app using http://localhost it works fine If I goto my web app using http://machinename or http://127.0.0.1 or..

Setting Metabase File Permissions - Permissions and auditing on the metabase file (%systemroot%system32\inetsrv\metbase.xml or metabase.bin) on all our web servers must be set so that the local IUSR_ and IWAM_ accounts are explicitly denied ALL permissions and all failure events are..

IIS ignoring connections - I've got a Windows 2003 server (sp1) running IIS with all current updates installed. Periodically, but not consistantly, it starts ignoring all incoming requests. I have placed network sniffers on both sides of the router serving this machine and hav...

IE is Ignoring my HTTP Header: Content-Type Help!! - I have an ASP.NET application that stores files as BLOBS into a database server for later retrieval. About two weeks ago we started experiencing problems in IE when it stopped parsing the Content-Type HTTP headers we were sending from ASP.NET. Any help...
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]