II6 & Read-Only Properties
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 > II6 & Read-Only Properties




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    II6 & Read-Only Properties  
AspDotNetDeveloper


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


 
01-27-04 11:36 AM

One thing I noticed recently about Win 2k3 Server, and IIS6, is that it
defaults to Read-Only permissions at the NTFS file and folders property
level. I discovered this, when trying to get the FileSystemObject to write
to a text file. All the permissions were set ok, but I discovered every
folder and file in the wwwroot has it's file properties set as Read-Only.
So, I changed this for the file I was trying to access, and everything
worked fine.

Problem:
I came back to work on my application today, and something had set the file
properties back to Read-Only. Does anyone know what would of done this, and
how to disable it?

Thanks!







[ Post a follow-up to this message ]



    Re: II6 & Read-Only Properties  
Ken Schaefer


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


 
01-27-04 06:34 PM

Are you using Frontpage Server Extensions?

Cheers
Ken

"AspDotNetDeveloper" <aspdotnetdeveloper@hotmail.com> wrote in message
news:uGmMJuQ5DHA.2432@TK2MSFTNGP10.phx.gbl...
: One thing I noticed recently about Win 2k3 Server, and IIS6, is that it
: defaults to Read-Only permissions at the NTFS file and folders property
: level. I discovered this, when trying to get the FileSystemObject to write
: to a text file. All the permissions were set ok, but I discovered every
: folder and file in the wwwroot has it's file properties set as Read-Only.
: So, I changed this for the file I was trying to access, and everything
: worked fine.
:
: Problem:
: I came back to work on my application today, and something had set the
file
: properties back to Read-Only. Does anyone know what would of done this,
and
: how to disable it?
:
: Thanks!
:
:







[ Post a follow-up to this message ]



    Re: II6 & Read-Only Properties  
David Wang [Msft]


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


 
01-27-04 08:34 PM

Allowing a web-based request the ability to modify the local filesystem is a
privileged operation.  Thus, you should take care in only allowing this
permission in a limited scope, hopefully outside of the URL namespace such
that people can't both upload and execute arbitrary code (like hacker tools)
on your server and take it over.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"AspDotNetDeveloper" <aspdotnetdeveloper@hotmail.com> wrote in message
news:uGmMJuQ5DHA.2432@TK2MSFTNGP10.phx.gbl...
One thing I noticed recently about Win 2k3 Server, and IIS6, is that it
defaults to Read-Only permissions at the NTFS file and folders property
level. I discovered this, when trying to get the FileSystemObject to write
to a text file. All the permissions were set ok, but I discovered every
folder and file in the wwwroot has it's file properties set as Read-Only.
So, I changed this for the file I was trying to access, and everything
worked fine.

Problem:
I came back to work on my application today, and something had set the file
properties back to Read-Only. Does anyone know what would of done this, and
how to disable it?

Thanks!








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:07 AM.      Post New Thread    Post A Reply      
  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