Groups | Blog | Home
all groups > iis security > october 2005 >

iis security : Limit some users?


Joker7
10/2/2005 12:00:00 AM
Hi,
I'm using IIS as with windows 2000 pro with all SP4.

All is working fine but I have one small problem.I have set-up some
passworded directory(web pages) which user can login to from the web site.

What I need to do is not let all users login in to all directories(web
pages).I need to limit some users to only some directories(web pages).Can I
do this and how?

Cheers
Chris

Miha Pihler [MVP]
10/2/2005 12:00:00 AM
Hi,

One way to do this would be to apply NTFS permissions on the web content. Of
course you would have to remove permissions such as Authenticated Users
Group, IUSR_<Computer Name>, etc. Then place the users (or your own groups)
and allow these users only read permissions.

Users who will not have read permissions will be denied access.

IIS will always honor NTFS permissions...

I hope this helps,

--
Mike
Microsoft MVP - Windows Security

[quoted text, click to view]

Joker7
10/2/2005 5:26:05 PM

[quoted text, click to view]
: Hi,
:
: One way to do this would be to apply NTFS permissions on the web content.
Of
: course you would have to remove permissions such as Authenticated Users
: Group, IUSR_<Computer Name>, etc. Then place the users (or your own
groups)
: and allow these users only read permissions.
:
: Users who will not have read permissions will be denied access.
:
: IIS will always honor NTFS permissions...
:
: I hope this helps,
:
: --
: Mike
: Microsoft MVP - Windows Security
:
[quoted text, click to view]

I forgot to say that the drive is fat32 and not NTFS

Cheers
Chris

David Wang [Msft]
10/2/2005 7:19:34 PM
Do NOT run IIS on a FAT32 partition. You are just asking for trouble because
you have no security in that configuration. Running custom authentication
will eventually cause you more problems than it is worth - suppose you want
a Web hoster to host your website; they probably won't run your custom
authentication (they do not like running arbitrary binaries on their servers
because they have to protect themselves against both you and this binary),
so you probably have to rewrite it all.

I suggest you only allow IIS to serve content from a NTFS partition.

I also suggest you stick with a web hoster to host your site and only do
website development on your machine.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
[quoted text, click to view]
: Hi,
:
: One way to do this would be to apply NTFS permissions on the web content.
Of
: course you would have to remove permissions such as Authenticated Users
: Group, IUSR_<Computer Name>, etc. Then place the users (or your own
groups)
: and allow these users only read permissions.
:
: Users who will not have read permissions will be denied access.
:
: IIS will always honor NTFS permissions...
:
: I hope this helps,
:
: --
: Mike
: Microsoft MVP - Windows Security
:
[quoted text, click to view]

I forgot to say that the drive is fat32 and not NTFS

Cheers
Chris


Joker7
10/4/2005 12:00:00 AM

[quoted text, click to view]
: Do NOT run IIS on a FAT32 partition. You are just asking for trouble
because
: you have no security in that configuration. Running custom authentication
: will eventually cause you more problems than it is worth - suppose you
want
: a Web hoster to host your website; they probably won't run your custom
: authentication (they do not like running arbitrary binaries on their
servers
: because they have to protect themselves against both you and this binary),
: so you probably have to rewrite it all.
:
: I suggest you only allow IIS to serve content from a NTFS partition.
:
: I also suggest you stick with a web hoster to host your site and only do
: website development on your machine.
:
: --
: //David
: IIS
: http://blogs.msdn.com/David.Wang
: This posting is provided "AS IS" with no warranties, and confers no
rights.
: //
[quoted text, click to view]
:: Hi,
::
:: One way to do this would be to apply NTFS permissions on the web content.
: Of
:: course you would have to remove permissions such as Authenticated Users
:: Group, IUSR_<Computer Name>, etc. Then place the users (or your own
: groups)
:: and allow these users only read permissions.
::
:: Users who will not have read permissions will be denied access.
::
:: IIS will always honor NTFS permissions...
::
:: I hope this helps,
::
:: --
:: Mike
:: Microsoft MVP - Windows Security
::
[quoted text, click to view]
:
: I forgot to say that the drive is fat32 and not NTFS
:

: Cheers
: Chris:
:
:

Hi,
I'm a simple man with simple goals in life,so could you explain yourself in
simple terms.I'm not a computer whiz that would understand all the tech
talk.

Quote

You are just asking for trouble because
: you have no security in that configuration. Running custom authentication
: will eventually cause you more problems than it is worth

I only run my server for fun and a couple of friends and family visit it.So
how should I go about making it more secure?

Chris

Miha Pihler [MVP]
10/4/2005 12:00:00 AM
First step would be to use NTFS instead of FAT32.

Here is more information on how to secure your IIS server:

Internet Information Services (IIS)
http://www.microsoft.com/technet/security/prodtech/IIS.mspx

--
Mike
Microsoft MVP - Windows Security


[quoted text, click to view]

David Wang [Msft]
10/4/2005 2:05:19 PM
Then the simple way would be to find a Web Hoster and have them host your
website. No complexities of hosting and securing a server, friends/family
can still visit the website, and you have control of its content.

Reality is, as soon as you put a server up, the entire world will visit it,
including your family. Most of the non-family members will likely visit with
malicious intent, and if you do not become a whiz they will walk all over
you.


When you talk about Computers and Security, it is like talking about Cars
and Safety. It is constantly changing and improving. And when you say:

[quoted text, click to view]

It is analogous to saying:
"I only drive my car for fun for a couple of friends and family, so how
should I go about making it more safe?"

In the case of the car, you would buy the car with the safety features and
use them. You wouldn't try to assemble it together. In the case of the
server, where you have all the pieces, you either need to know how to
assemble it properly, or you buy the end product of someone else who has it
together.

And since you say you are a simple man with simple goals and not a computer
whiz nor understand all the tech talk, I suggest you go with professional
Web Hosters like 1and1.com

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
[quoted text, click to view]
: Do NOT run IIS on a FAT32 partition. You are just asking for trouble
because
: you have no security in that configuration. Running custom authentication
: will eventually cause you more problems than it is worth - suppose you
want
: a Web hoster to host your website; they probably won't run your custom
: authentication (they do not like running arbitrary binaries on their
servers
: because they have to protect themselves against both you and this binary),
: so you probably have to rewrite it all.
:
: I suggest you only allow IIS to serve content from a NTFS partition.
:
: I also suggest you stick with a web hoster to host your site and only do
: website development on your machine.
:
: --
: //David
: IIS
: http://blogs.msdn.com/David.Wang
: This posting is provided "AS IS" with no warranties, and confers no
rights.
: //
[quoted text, click to view]
:: Hi,
::
:: One way to do this would be to apply NTFS permissions on the web content.
: Of
:: course you would have to remove permissions such as Authenticated Users
:: Group, IUSR_<Computer Name>, etc. Then place the users (or your own
: groups)
:: and allow these users only read permissions.
::
:: Users who will not have read permissions will be denied access.
::
:: IIS will always honor NTFS permissions...
::
:: I hope this helps,
::
:: --
:: Mike
:: Microsoft MVP - Windows Security
::
[quoted text, click to view]
:
: I forgot to say that the drive is fat32 and not NTFS
:

: Cheers
: Chris:
:
:

Hi,
I'm a simple man with simple goals in life,so could you explain yourself in
simple terms.I'm not a computer whiz that would understand all the tech
talk.

Quote

You are just asking for trouble because
: you have no security in that configuration. Running custom authentication
: will eventually cause you more problems than it is worth

I only run my server for fun and a couple of friends and family visit it.So
how should I go about making it more secure?

Chris


AddThis Social Bookmark Button