Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

quick_handler hook is completely bogus.: msg#00699

apache.devel

Subject: quick_handler hook is completely bogus.


I realize that this is a strong statement, but I believe that I can back
it up. My reasons for not liking this hook at all:

1) If I have a page that I have served and it gets put in the cache,
then it will be served out of the quick_handler phase. However, if I
then add or modify a .htaccess file to deny access to that page, then my
changes won't be honored until the page expires from the cache. This is
a security hole, because I don't know of anyway to invalidate cached
pages. (This one if from a conversation with wrowe). [ I guess it
might be possible to clear the cache with a graceful restart. ]

2) If I have a page that uses access checking to ensure that only
certain people can request the page, the cache_filter will put it in the
quick handler. However, the page may not be allowed to people who will
request it from the cache. I may be wrong about this one, but I see how
the cache disallows pages that require authentication. I do not see how
it can disallow caching of pages that require access_checking.

3) It isn't possible for a module author to circumvent the
quick_handler phase. If I write a module that doesn't want to allow the
quick_handler phase, for security reasons, I can't enforce it.

While I understand that we are giving people a lot of rope and asking
them to use it wisely, this phase gives too much rope, and invites
people to hang themselves.

I believe that this hook should be removed, and all content should be
served out of the handler phase. If we are looking to remove some
request phases, then we should make it possible to avoid individual
phases when serving requests, not completely skip all of them.

Ryan

----------------------------------------------
Ryan Bloom
rbb@xxxxxxxxxxxx rbb@xxxxxxxxxx





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation