473,395 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

A question about IHttpModule and verbs

Hi,

We are trying to make an authorization module for our web dav folder using
..NET and implementing the IHttpModule. We have already done this in a
previous version of our product, with an ISAPI filter (written in c++), but
now we want to move it to .NET. We are almost where we want to be, by
implementing the IHttpModule interface we can almost do our own custom
authorization, but we need to get a hold of the verbs GET and PUT when
trying to load an office document from the web dav folder. So that we can
check if the user has read and/or write access to the file based on security
settings set in our product. But we have been unable to retrieve the GET and
PUT verbs when loading office documents. For .txt and .aspx files we receive
the GET and PUT verbs, so we can get to the verbs for other files, just not
when loading office documents. In office documents we only receive LOCK and
OPTIONS verbs. We have gone through all the documentation we could find but
we could not find any information regarding to our problem.

-Kenneth
Nov 18 '05 #1
2 1409
Hi again, curious about if anybody has any idea why I can't get these verbs
(GET, PUT) when loading or storing a document to a web dav folder. If you
think I am asking the question in the wrong group, then please let me know.

Regards,
Kenneth Myhra

"Kenneth Myhra" <ke**********@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
Hi,

We are trying to make an authorization module for our web dav folder using
.NET and implementing the IHttpModule. We have already done this in a
previous version of our product, with an ISAPI filter (written in c++), but now we want to move it to .NET. We are almost where we want to be, by
implementing the IHttpModule interface we can almost do our own custom
authorization, but we need to get a hold of the verbs GET and PUT when
trying to load an office document from the web dav folder. So that we can
check if the user has read and/or write access to the file based on security settings set in our product. But we have been unable to retrieve the GET and PUT verbs when loading office documents. For .txt and .aspx files we receive the GET and PUT verbs, so we can get to the verbs for other files, just not when loading office documents. In office documents we only receive LOCK and OPTIONS verbs. We have gone through all the documentation we could find but we could not find any information regarding to our problem.

-Kenneth

Nov 18 '05 #2
Hmm, seems I have partially figured this out, I *do* receive the GET verb,
but once I have loaded the document one time it is cached in my local IE
cache. After I have loaded it one time I only retrieve the OPTIONS verb
until I empty my local IE cache. I also have the option "Check for newer
versions of stored pages" set to "Every visit to the page" set in IE, but it
still obviously loads the office document from the cache. I guess I should
say that I am opening the documents from within IE and not from an Office
application at this time. Also the "Content Expiration" on the Web DAV
folder is set to "immediately". So my question is do any of you know why it
does *not* load the office document from the Web DAV folder at each request
when all of this settings is set?

Regards,
Kenneth Myhra
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Franck | last post by:
Dear all Would anyone know of any program capable of AUTOMATICALLY "detecting" verbs in a text and "tagging"/"highlighting" them in color? I'm thinking of what Google uses for example when one...
0
by: moid | last post by:
Sir we are implementing front controller in asp.net. we implement three event-handler 1. PreRequestHandlerExecute 2. PostRequestHandlerExecute 3. BeginRequest we just want to initialize...
2
by: Kenneth Myhra | last post by:
Hi, We have been trying to develop an IHTTPModule (that was supposed to replace or take over the ISAPI Filters, as far as we know). We have developed one in C# and it seems to be working. The...
2
by: silesius | last post by:
Hi all, I'm using Visual Studio to create an HttpModule. I created a class library project added my code and two directives System and System.Web, but every time I try to compile it gives me this...
6
by: Andy G | last post by:
I am trying to implement the global error handling described on this page... http://www.dotnetdevs.com/articles/GlobalErrorHandling.aspx I'm a VB person and don't understand much of C# when it...
5
by: Richard | last post by:
I've developed a small ASPX template framework (based on Chun Li's article on CodeProject: http://www.codeproject.com/aspnet/headerfooter.asp#xx849313xx) which uses a IHttpModule to apply...
2
by: ryan.mclean | last post by:
Hello all, Can I add custom verbs to ascx webparts? I have seen good examples where the webpart is a custom control thingy that inherits from System.Web.UI.WebControls.WebParts, then overrides...
1
by: Osama Sayed | last post by:
I have a class that implements IHttpModule to handle URLs with a "RESTful" nature. It handles them according to a custom configuration section in the website's Web.Config file. My questions are:...
8
by: =?Utf-8?B?UGhpbGlw?= | last post by:
When is the IHttpModule Dispose driven ?....at application recycle time ? I developed a test HttpModule to trace INIT, BeginRequest, EndRequest and Dispose....and the Dispose never gets driven. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.