Re: WebDav and Excel doesn't work

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 02/16/05


Date: Wed, 16 Feb 2005 11:10:51 -0800

WebDAV and Authentication built into IIS should easily solve this problem
since it is designed for it. You don't need anything custom at all; just
have to configure the right things.

Now, I am very confused by what you are doing. Can you describe exactly
what you are trying to accomplish, not how you think it should be done.

My guess based on what you have said is that you want:
1. Allow authenticated users to open/edit/save Office documents
2. Perform the authentication/authorization with managed code
3. Prevent unauthorized users from doing anything.

Is this correct? Is there anything else missing?

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Ricardo Almeida" <RicardoAlmeida@discussions.microsoft.com> wrote in
message news:A84BB412-37DF-48EF-B127-7625D465ADA6@microsoft.com...
I developed an alternative that downloads the file with the appropriated
content-type, but when the user try to upload the file, he don't known where
to place!
I need to download/Change/Save a office file without user interation.
Do you known how? What about WebDav.Net, is a product of IndependentSoft.
Can this resolve my problem?
Regards,
Ricardo Almeida
"David Wang [Msft]" wrote:
> If you are trying to make the ASPX page secure access to the .DOC and .XLS
> files, then simply put the .DOC and .XLS files OUTSIDE of the website so
> that they are completely inaccessible via a URL, and then write the ASPX
> page to open and stream those file content (with the correct content-type)
> to the browser. People successfully do this with ASP and ASPX all the
time.
>
> The fact that directory browsing affects behavior suggests that you have
at
> least some coding errors in your ASPX page that relies on URL-based access
> (not through the ASPX page) to obtain the content
>
> An alternative way to use managed code to control access to content
(instead
> of an ASPX page streaming files outside the URL namespace) is to
*-scriptmap
> ASP.Net ISAPI to the appropriate content (so IIS will invoke ASP.Net prior
> to serving that file), and you can hook into HttpHandler or HttpModule to
> secure access accordingly.
>
> -- 
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "Ricardo Almeida" <RicardoAlmeida@discussions.microsoft.com> wrote in
> message news:90D64DAB-4FB3-45BB-B23B-7D123552B7D6@microsoft.com...
> Hi!
>
> I'm posted this because i have a big problem.I want to open a File( .doc,
> ..xls ) and download it to client aplication the the user changes the
> document
> and updates the file in Virtual Directory.So, I created a Virtual
Directory
> for my documents and created and Web Page (Aspx). This page, opens the
file
> and return it to the client... at this time all right!!!!!!
>
> If in IIS i disable the Directory Browsing the File Cannot be viewed but
the
> client application opens the file correctly.In this scenario, if the file
is
> a .doc the file is open and save to the Virtual Directory correctly, but
if
> is a .xls file then return me a error the 'file' cannot be accessed or may
> be
> in use or the Web
> Server is temporarily busy" in Excel Application!
>
> If in IIS the Directory Browsing is enabled...then all works right!!!!!!
But
> i need to secure the site so no one can access is resources...is out of
> question!!!!
>
> In the header of IIS Virtual Directory i put
MicrosoftSharePointTeamServices
> 6.0.2.5530. I opening the file ( in Aspx page) using the
> Sharepoint.Document.2
>
> This is very strange, because it works fine with Word but not with
> Excel!!!!!!!
>
> Any Solutions???
>
> My OS is Windows 2000 Server and Clients have Office 2003
>
>
>


Relevant Pages

  • Re: WebDav and Excel doesnt work
    ... People successfully do this with ASP and ASPX all the time. ... > ASP.Net ISAPI to the appropriate content (so IIS will invoke ASP.Net prior ... This page, opens the file ... > If in IIS i disable the Directory Browsing the File Cannot be viewed but the ...
    (microsoft.public.inetserver.iis)
  • Re: WebDav and Excel doesnt work
    ... If you are trying to make the ASPX page secure access to the .DOC and .XLS ... then simply put the .DOC and .XLS files OUTSIDE of the website so ... This page, opens the file ... If in IIS i disable the Directory Browsing the File Cannot be viewed but the ...
    (microsoft.public.inetserver.iis)
  • Re: How to configure IIS 7 to use a built-in account
    ... What actually happens when you try to access that ASPX page? ... You said originally "The initial .aspx web page would not work with default installed settings", but could you be a bit more specific? ... make Read permission for IUSR... ... > And I know that IIS actually does work because the new account I ...
    (microsoft.public.inetserver.iis)
  • Re: How to... (ASP.NET / IIS 6.0 Newbie Question)
    ... The reason is because your code is in ASP.Net, and IIS needs to know to ... extensions, you can add Application Scriptmap for just those extensions and ... I have an ASP.NET app with aspx pages as the front end. ...
    (microsoft.public.inetserver.iis)
  • Re: Visual Studio .NET IDE and IIS
    ... do you have a virtual path mapped to this directory in IIS. ... > Once I click on "Try to open the page with frontpage server extensions", ... > new project opens fine. ...
    (microsoft.public.dotnet.framework)