Re: File permissions vary based on access method problem



Thanks Marcelo for the information, that's useful to know. I do have Write
permission on the IIS MMC for the VD, but I'm not following what you mean
with the second part.

What do you mean by using the PUT method over HTTP 1.1? All client browsers
are expected to be IE6. Do you mean adding the PUT verb to Mappings for a
partcular extension? If so, is it just for the .ASP file type that retrieves
the file? Or do I have to add mappings for each possible document type?

Thanks for your information, it's certainly given me much to think about.

"Marcelo Villalón" wrote:

Hi,

Via IIS you configure:
1) Enable Write permission on IIS mmc, VD properties
2) Using the PUT method over HTTP 1.1

Here is the IIS help about it

Write

Select to allow users to upload files and their associated properties to the
enabled directory on your server or to change content in a Write-enabled
file. Write access is allowed only with a browser that supports the PUT
feature of the HTTP 1.1 protocol standard

NOTE: In any way you never should let this VD be writeable from the external
network, you may consider use a VPN connection to access H: directory
instead of http:// form.

Hope this help



"Daniel Stratton" <Daniel Stratton@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:7E60E96C-27CD-46DE-A3AA-1AEBA056D1C1@xxxxxxxxxxxxxxxx
I'm currently maintaining an intranet ASP based product for a small
business,
and I have run into an odd problem.

I have a directory which is full of documents that need to be accessed via
a
central website, both internally from the office, and externally from
home.
The data sits on the server (Windows 2003 SBS) at C:\Data\Platform. This
directory is shared on the office intranet as H:, and a Virtual Directory
(VD1) is setup on the website that points to this location as well. The
virtual directory has NTFS access for Admins, Everyone, IIS_WPG,
IWAM_MACHINE
and IUSR_MACHINE. It also has Read, Write, and Directory Browse
permissions
from within IIS.

C:\Data\Platform is marked as full control for Admins, Everyone, IIS_WPG,
IWAM_MACHINE and IUSR_MACHINE. The share is set to read, write and modify
for all. The file that is trying to be accessed (records.xls) is not
marked
as read only.

If a user tries to access the file through the virtual directory (ie a
http:// link to VD1/records.xls), the file opens in read only mode. If a
user tries to access through the intranet (ie a file:// link to
H:/records.xls) then the file is opened in write mode.

Both anonymous and integrated windows access are enabled, with IP
restrictions of 192.168.0.x and 127.0.0.1. But this issue occurs within
the
office as well, so that only files that are accessed through H: are
openable
for write mode. Something seems to be restricting it to read only mode
through the use of the virtual directory.

Most documents we only want to be read only, but some of them we do want
to
be able to write to (communal time sheets for instance). External write
access is desired to allow the rest of the office to work more flexibly.
All
clients are latest patched versions of IE6.

How do I make it so that the file is accessible for writing through the
Virtual Directory?

Thanks in advance for any suggestions.



.