Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

read-only WebDAV documents require logon

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
Opening Office Documents through Webdav - I have a website setup with a link that opens up a webdav folder that contians numerous office I have NTLM security setup on the website and there is NTFS security on the files. When I go to open any office (word, excel,

webDAV - documents being opened in readonly - Hi there, I have a quick question with regards to webDAV. 1. I enabled webDAV on a my default website in order to access end edit documents via http. 2. My documents are in 3. I can list and open files from the

WebDAV open document in read only - I am able to configure IIS 5 for WebDAV and I would be able to write document back to the server directly. I just would like to know whether it is possible to disable WebDAV for certain web page so that the user can only change the document on certain web

How do I require SSL for OWA? - I don't want users to do I can't find in ESM or IIS6 where to require SSL for just the Exchange, ExAdmin, and ExchWeb virtual folders. Can anybody shed light on this? Thanks, Rob

Does ISAserver require AD? - Simple question. But I dont remember and I cant find it anywhere. Anyone who can give a simple Yes or No? regards, Magnus Finbom
Next:  IIS: Type mismatch: 'Session' error  
Author Message
nospam104

External


Since: Nov 07, 2003
Posts: 11



(Msg. 1) Posted: Thu Dec 04, 2003 8:46 pm
Post subject: read-only WebDAV documents require logon
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi,
I'm using II5.1 on XP (and will later migrate to IIS on W2003).
I'm working with a solution that requires documents (Word, Excel and
Powerpoint) to be open via WebDAV (http://server/folder/document.doc and so
on)
If the document is read/write everything is fine, but if it's read only, a
logon dialog appears.
What ever I try to enter, it's not vald. If I cancel the logon dialog, the
document is opened.
Why does that log-on request come? If WebDAV works with read/write files, it
should also work with the read-only documents.
I hope someone can help me on this, as my users will never accept having to
cancel a logon dialog everytime they open a read-only document.

Cheers,
Thomas

 >> Stay informed about: read-only WebDAV documents require logon 
Back to top
Login to vote
user649

External


Since: Aug 25, 2003
Posts: 244



(Msg. 2) Posted: Fri Dec 05, 2003 7:10 am
Post subject: RE: read-only WebDAV documents require logon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Thomas,

Thank you for posting in MSDN managed newsgroup!

From my experience on this issue, Id 'suggest you can use the windows authentication method of web dav folder to solve this issue. You can type
"inetmgr"(without quotation) in start->run. Please click to the web dav folder properties window. In the Directory security tab, please select the
"windows integrated authentication" which will take advantage of the windows user acccount management.

This way, you can create one or several account group(s) for your web dav users in the windows user account manager which will be very simple
for your account management. You can type "lusrmgr.msc"(without quotation) in start->run to start the manager. Based on your scenario, create
accounts and specify them into different account group.

After all that settings, I'd suggest you may configure the webdav folder with the following steps.
// steps begin
1. check the security property of your web dav folder through right-clicking the webdav folder and selecting the properties
2. in the pop-up window, choose the security tab.
Please ensure that only system account is added into the "Group or user names" listbox(we also call this "access control list"[ACL]. For
abbreviation, I will call the "Group or user names" list box as ACL). If not, remove all other account. Generally speaking, windows will not let you to
delete the accounts in the ACL because the user accounts is inherited from the parent folder by default. You can press the "Advanced" button in
the security tab, then in the "Advanced security Settings for <foldername>" window, dis-select the "Allow inheritable permissions from ..." item and
select "remove" button in the warning window. After that, all the accounts in the ACL will not be removed until you click the ok button of
"Advanced security Settings for <foldername>" window.

When go back to the security tab of property window, you can add "<your computername>\system" into the ACL through clicking the add...
button. Based on my experience, I'd suggest you grant "Full control" permission to the system account so that some windows service can use this
account to use this folder, for example indexing service will use this account to index the documentation by default.

3. Then add the web dav user group into the ACL which you created before. If the user want to access the web dav folder, he will need to login
into this folder. Then grant the permissions below for this user group.
a)Read & Execute
b)List Folders Controls
c)Read
d)write //we can control the write permission from the IIS mmc . I will focus more on this later.

The four permissions are based on NTFS permission which is provided by windows operating system with the assistance of NTFS format harddisk.

4. After these configuration, please go to the IIS mmc.
5. Go to the property window of webdav folder. In the Virtual Directory tab, you can dis-select the "write" item. This means IIS will deny all the
write request. I illustrate this for you in the simple graph below:

write request || (1) || (2)
---------------->|| IIS checking ||-----------> NTFS checking-----------> file
|| ||success success

If we dis-select the write item in IIS mmc, IIS will directly deny this request in the (1) level. Then the write permission we set in the step 3 will be
useless. This is the reason why I tell you to grant the write permission to the web dav user group(s).

You can also right-click for each file's property window in IIS mmc. Then the request for this file is also the same to the above so that all the write
request for that file will be denied in IIS when all the other files can be written.
// steps end

This way, you will not get the login-in window. However, we can't directly manage the webdav folder with administrator account login even we add
the windows administrators group into the ACL of web dav folder and grant full control to the directory. You may need to terminal to the windows
for the remote manangement.

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

 >> Stay informed about: read-only WebDAV documents require logon 
Back to top
Login to vote
nospam104

External


Since: Nov 07, 2003
Posts: 11



(Msg. 3) Posted: Fri Dec 05, 2003 4:43 pm
Post subject: Re: read-only WebDAV documents require logon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Wei-Dong Xu,
thanks for your reply. Unfortunately it didn't help me.
I'm using IIS integrated security and my WebDAV folder is granted fully to
SYSTEM and to Domain Users - so the basic and IIS NTFS security is in
place.... all users are members of domain admins, and thus should be able to
use the files as is.
But still I get the logon dialog for read-only documents (and for read-only
documents only!).

I've tried to follow your plan step by step, but it didn't help. And from
what I can gather, it's basically what I had allready done.

Anyone has the same problem?
This is really vital for the success of the application.

Cheers,
Thomas.




"Wei-Dong Xu [MSFT]" <v-wdxu DeleteThis @online.microsoft.com> wrote in message
news:tBppNXuuDHA.3532@cpmsftngxa07.phx.gbl...
 > Hi Thomas,
 >
 > Thank you for posting in MSDN managed newsgroup!
 >
 > From my experience on this issue, Id 'suggest you can use the windows
authentication method of web dav folder to solve this issue. You can type
 > "inetmgr"(without quotation) in start->run. Please click to the web dav
folder properties window. In the Directory security tab, please select the
 > "windows integrated authentication" which will take advantage of the
windows user acccount management.
 >
 > This way, you can create one or several account group(s) for your web dav
users in the windows user account manager which will be very simple
 > for your account management. You can type "lusrmgr.msc"(without quotation)
in start->run to start the manager. Based on your scenario, create
 > accounts and specify them into different account group.
 >
 > After all that settings, I'd suggest you may configure the webdav folder
with the following steps.
 > // steps begin
 > 1. check the security property of your web dav folder through
right-clicking the webdav folder and selecting the properties
 > 2. in the pop-up window, choose the security tab.
 > Please ensure that only system account is added into the "Group or user
names" listbox(we also call this "access control list"[ACL]. For
 > abbreviation, I will call the "Group or user names" list box as ACL). If
not, remove all other account. Generally speaking, windows will not let you
to
 > delete the accounts in the ACL because the user accounts is inherited from
the parent folder by default. You can press the "Advanced" button in
 > the security tab, then in the "Advanced security Settings for
<foldername>" window, dis-select the "Allow inheritable permissions from
...." item and
 > select "remove" button in the warning window. After that, all the accounts
in the ACL will not be removed until you click the ok button of
 > "Advanced security Settings for <foldername>" window.
 >
 > When go back to the security tab of property window, you can add "<your
computername>\system" into the ACL through clicking the add...
 > button. Based on my experience, I'd suggest you grant "Full control"
permission to the system account so that some windows service can use this
 > account to use this folder, for example indexing service will use this
account to index the documentation by default.
 >
 > 3. Then add the web dav user group into the ACL which you created before.
If the user want to access the web dav folder, he will need to login
 > into this folder. Then grant the permissions below for this user group.
 > a)Read & Execute
 > b)List Folders Controls
 > c)Read
 > d)write //we can control the write permission from the IIS mmc . I will
focus more on this later.
 >
 > The four permissions are based on NTFS permission which is provided by
windows operating system with the assistance of NTFS format harddisk.
 >
 > 4. After these configuration, please go to the IIS mmc.
 > 5. Go to the property window of webdav folder. In the Virtual Directory
tab, you can dis-select the "write" item. This means IIS will deny all the
 > write request. I illustrate this for you in the simple graph below:
 >
 > write request || (1) || (2)
 > ---------------->|| IIS checking ||-----------> NTFS
checking-----------> file
 > || ||success
success
 >
 > If we dis-select the write item in IIS mmc, IIS will directly deny this
request in the (1) level. Then the write permission we set in the step 3
will be
 > useless. This is the reason why I tell you to grant the write permission
to the web dav user group(s).
 >
 > You can also right-click for each file's property window in IIS mmc. Then
the request for this file is also the same to the above so that all the
write
 > request for that file will be denied in IIS when all the other files can
be written.
 > // steps end
 >
 > This way, you will not get the login-in window. However, we can't directly
manage the webdav folder with administrator account login even we add
 > the windows administrators group into the ACL of web dav folder and grant
full control to the directory. You may need to terminal to the windows
 > for the remote manangement.
 >
 > Please feel free to let me know if you have any further questions.
 >
 > Does this answer your question? Thank you for using Microsoft NewsGroup!
 >
 > Wei-Dong Xu
 > Microsoft Product Support Services
<font color=purple> > Get Secure! - <a style='text-decoration: underline;' href="http://www.microsoft.com/security</font" target="_blank">www.microsoft.com/security</font</a>>
 > This posting is provided "AS IS" with no warranties, and confers no
rights.
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: read-only WebDAV documents require logon 
Back to top
Login to vote
user649

External


Since: Aug 25, 2003
Posts: 244



(Msg. 4) Posted: Sat Dec 06, 2003 12:15 pm
Post subject: Re: read-only WebDAV documents require logon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Thomas,

Thank you for replying!

From my understanding to your issue now, you may need to test this in windows server 2003 box.

Please feel free to let me know if you have any further questions.

Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 >> Stay informed about: read-only WebDAV documents require logon 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]