all groups > iis security > may 2006 >
You're in the

iis security

group:

HOW TO IIS -Security


HOW TO IIS -Security phil
5/24/2006 9:44:15 PM
iis security:
Hi!! & Hello!!!

Well I have a server where I have hosted many sites on IIS 6.0. When
the users I mean the public users (anyone from anywhere) if they go to
their Start->Run-> from windows and type the IP address(for eg
\\83.485.574.22) like this it opens up the default site with full
directory view and ...with all the files and folders. write permission
..how can i stop this ??? i mean their is no security at all how can i
stop this???

regards
Phil
Re: HOW TO IIS -Security phil
5/25/2006 12:37:40 AM
Hello
thanks for reply

a) How do you know there is no security?
Well, as mentioned earlier that anyone can access this domain from
anywhere with read and write permissions...

b)Are you allowing anonymous access?
Yes this is a public website

c)Do you have WebDAV enabled in the Web Service Extensions list?
Well Im new to this field so i don't know about this...well where can i
get the info on my machine whether WebDAV is enabled???

regards
Phil

[quoted text, click to view]
Re: HOW TO IIS -Security phil
5/25/2006 2:23:39 AM
Hello thanks for reply
Can U please tell me how to rectify??? this problem??? I have checked
the permission on wwwroot directory but guest account and everyone
account are not given full permissions. only read is enabled??? how to
get out of this problem.???

regards
phil
[quoted text, click to view]
Re: HOW TO IIS -Security phil
5/25/2006 4:27:46 AM
Hello

Well I feel we are missing out a point here... see when i \\x.y.z.y why
should only my Default site should open there are so many other share
which i have given??? and more over i have not shared my wwwroot folder
at all. so I need some help from you.

regards
Phil
[quoted text, click to view]
Re: HOW TO IIS -Security Daniel Crichton
5/25/2006 9:40:14 AM
phil wrote on 24 May 2006 21:44:15 -0700:

[quoted text, click to view]

A connection to \\w.x.y.z isn't going through IIS - that's a UNC path.
Actually, it shouldn't show the default site at all - it should just show a
list of the available shares on the machine on that IP address. If this is
the case, you've got Windows file sharing exposed to everyone, and the guest
account enabled with full permissions - this is nothing to do with IIS, and
it means you've changed the default NTFS permissions in Windows and
connected your machine to the internet with no firewall.

Dan

Re: HOW TO IIS -Security Daniel Crichton
5/25/2006 11:39:09 AM
phil wrote on 25 May 2006 02:23:39 -0700:

[quoted text, click to view]

Well, if you really are getting Windows share connections rather than via
IIS, you need to check the NTFS permissions from Windows itself, not the IIS
manager. IIS is not being used, so your question is irrelevant in this
group. And you really need to get a firewall in place, never expose a
machine directly to the internet.

Dan

Re: HOW TO IIS -Security Funkadyleik Spynwhanker
5/25/2006 1:41:25 PM
Actually, there is one overall conclusion that can be drawn;

You are way in over your head. Unplug that machine and call a professional.
Seriously, that machine probably already compromised and helping to make the
internet a foul, spam-ridden place already.



[quoted text, click to view]

Re: HOW TO IIS -Security Ken Schaefer
5/25/2006 4:06:52 PM
Hi,

a) How do you know there is no security? Are you allowing anonymous access?
Have you configured NTFS permissions to restrict which users can access the
files?

b) Do you have WebDAV enabled in the Web Service Extensions list? They are
accessing the site via WebDAV by the looks of it - if you have it enabled,
you need to take additional steps to restrict who can view what. Otherwise
disable WebDAV if you don't need that functionality.

Cheers
Ken


[quoted text, click to view]

Re: HOW TO IIS -Security Ken Schaefer
5/26/2006 12:00:00 AM

[quoted text, click to view]

How do you know they aren't sending credentials? Have you checked the
relevant IIS logfiles?



[quoted text, click to view]

Open IIS Manager. There is a node called "Web Service Extensions". Locate
WebDav. Disable it.

If you need more help on securing IIS, I co-wrote a book with Bernard Cheah
(another IIS MVP). You can order it from Amazon.com (or any other
bookstore):
http://www.amazon.com/exec/obidos/ASIN/1931836256/adopenstati0f-20

Cheers
Ken



[quoted text, click to view]

Re: HOW TO IIS -Security phil
5/26/2006 6:10:40 AM
Hey Thanks man for the suggestion
After Disabling this it works better, if you have any suggestion..let
me know..Meanwhile if u have any online site where i learn more about
IIS security just past it across. Thanks once again

regards
Philip

[quoted text, click to view]
Re: HOW TO IIS -Security Ken Schaefer
5/29/2006 12:00:00 AM
You can obtain the entire IIS Resource Kit from the Microsoft website for
free.

Alternatively, there is the book I mentioned (it covers IIS security)

Otherwise, depending on your time, you can search the web for the equivalent
content. but how much is your time worth?

Cheers
Ken

[quoted text, click to view]

AddThis Social Bookmark Button