HOW TO IIS -Security
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > HOW TO IIS -Security




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    HOW TO IIS -Security  
phil


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-06 06:23 AM

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






[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-06 06:23 AM

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


"phil" <philip.prabhakar@gmail.com> wrote in message
news:1148532255.803316.252990@j73g2000cwa.googlegroups.com...
> 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
>







[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
phil


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-06 12:18 PM

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

Ken Schaefer wrote:[vbcol=seagreen]
> 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 th
e
> 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
>
>
> "phil" <philip.prabhakar@gmail.com> wrote in message
> news:1148532255.803316.252990@j73g2000cwa.googlegroups.com... 






[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
Daniel Crichton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-06 12:18 PM

phil wrote  on 24 May 2006 21:44:15 -0700:

> 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

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







[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
phil


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-06 12:18 PM

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
Daniel Crichton wrote:
> phil wrote  on 24 May 2006 21:44:15 -0700:
> 
>
> 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 gue
st
> account enabled with full permissions - this is nothing to do with IIS, an
d
> it means you've changed the default NTFS permissions in Windows and
> connected your machine to the internet with no firewall.
>
> Dan






[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
Daniel Crichton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-06 12:18 PM

phil wrote  on 25 May 2006 02:23:39 -0700:

> 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.???

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







[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
phil


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-06 12:18 PM

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
Daniel Crichton wrote:
> phil wrote  on 25 May 2006 02:23:39 -0700:
> 
>
> 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 I
IS
> 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






[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
Funkadyleik Spynwhanker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10:30 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.



"phil" <philip.prabhakar@gmail.com> wrote in message
news:1148556466.307189.174190@38g2000cwa.googlegroups.com...
> 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
> Daniel Crichton wrote: 
>







[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10:30 PM


"phil" <philip.prabhakar@gmail.com> wrote in message
news:1148542660.865052.202830@i40g2000cwc.googlegroups.com...
> 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...

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



> 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???

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/A...dopenstati0f-20

Cheers
Ken



> regards
> Phil
>
> Ken Schaefer wrote: 
>







[ Post a follow-up to this message ]



    Re: HOW TO IIS -Security  
phil


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10:30 PM

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

Ken Schaefer wrote:[vbcol=seagreen]
> "phil" <philip.prabhakar@gmail.com> wrote in message
> news:1148542660.865052.202830@i40g2000cwc.googlegroups.com... 
>
> How do you know they aren't sending credentials? Have you checked the
> relevant IIS logfiles?
>
>
> 
>
> 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 Chea
h
> (another IIS MVP). You can order it from Amazon.com (or any other
> bookstore):
> http://www.amazon.com/exec/obidos/A...dopenstati0f-20
>
> Cheers
> Ken
>
>
> 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:17 AM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register