Re: Trouble configuring Apache/mod_ssl to satisfy these requirements...

2001-05-21 Thread Kingsley Kerce

Deocs Postmaster writes:
  Kings,
  
  I think this may be an SSL issue, see below.
  
   The reason this is a problem is that the users of this system (the
   authors) should not be expected to re-authenticate each and every time
   they wish to view or manipulate common file types contained in the web
   folders.  Seems reasonable.  No doubt this is a quirk of the MS Web
   Folders implementation -- clients like cadaver (command-line-based)
   don't behave in this manner.
  
  We use DAV as a file system that remote users can access,
  and since they come in through SSL, the login, password,
  data, etc. are encrypted.  Its basically used as a substitute
  for FTP with SSL with drag/drop.  We haven't gone to the next

Dave -- This also was our initial goal.

  step of interacting with the file system from the client side
  through applications.

After seeing the capabilities of DAV in conjunction with Web Folders,
such as the promise, as you say, of using applications with files
located on the remote filesystem, we are trying to make it fly with as
few non-transparencies for the user as possible.  The multiple
authentication challenges are a slight nuisance.

I must say I'm impressed with the Web Folders implementation.

  I tried opening a Word document, and I did have to validate
  with login/password, but if I opened a second document while
  Word was still running, it opened without login/password.

Yes, same situation here.

  Here is my guess:
  
  (1) Each application from the user machine has to be
   independently validated each time it runs, but once its
   running, it retains its validation.

This is generally true, however an exception that I've noticed is IE.
Opening multiple HTML files (even the same ones) while IE still runs
results in challenges for each file.

  (2) If a second application runs, it also needs to be validated.
   So if I connect from IE and validate, I will still need
   to validate if I try to connect from Netscape.

Yes.

  Does this match your Cadaver experience?

Yes, in the application as client view, cadaver would require
authentication once, as would another separate cadaver process.

I naively supposed that Microsoft, since it integrated the Web Folders
idea into their Explorer concept, etc., might have also integrated the
authentication.  (see SAMBA idea, below.)

  Provided (1) and (2) are ~correct, then it would be nice
  if there was some way SSL would allow all applications
  from a specific IP to be validated after one application
  was validated.  I can see ways that would be dangerous.

I think the multiple challenge problem (nuisance?) is a client (and
therefore MS) problem.

Ideally, the MS applications would refer to a centralized
authentication mechanism.  Isn't that how SAMBA works?  Each
application can access a remote SAMBA filesystem without
re-authenticating.

Kings

  Or, is there some way for files opened from a web folder
  to exchange data as if it was the same application.  I
  think this would be a M$ question.
  
  Dave
  
  __
  Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
  User Support Mailing List  [EMAIL PROTECTED]
  Automated List Manager[EMAIL PROTECTED]
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Trouble configuring Apache/mod_ssl to satisfy these requirements...

2001-05-18 Thread Kingsley Kerce

I inquired of the list a few days ago:
http://marc.theaimsgroup.com/?l=apache-modsslm=98987009932371w=2

Thanks to the respondents.  Appended below is the solution (edited
portions of my httpd.conf) with which I'm going.  Now I have the
pleasure of dealing with Microsoft's Web Folders implementation (a DAV
client) which re-asks for username/password way too often.  None of
the other DAV clients I've tested do that.

Kingsley [EMAIL PROTECTED]

DocumentRoot /usr/local/apache/htdocs

Directory /
  AllowOverride None
  Options None
  Order deny,allow
  Deny from all
/Directory

Directory /usr/local/apache/htdocs/author
  Order allow,deny
  Allow from all
/Directory
Directory /usr/local/apache/htdocs/author/staging
  Order deny,allow
  Deny from all
/Directory

VirtualHost _default_:443

Directory /usr/local/apache/htdocs
  SSLRequireSSL
  DAV On
  AuthType Basic
/Directory

Directory /usr/local/apache/htdocs/author
  Options Indexes
  require user author
  Order allow,deny
  Allow from all
/Directory
Directory /usr/local/apache/htdocs/author/staging
  Order allow,deny
  Allow from all
/Directory
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Trouble configuring Apache/mod_ssl to satisfy these requirements...

2001-05-14 Thread Kingsley Kerce

Can Apache, outfitted with mod_ssl and mod_dav, satisfy the following
requirements?

A particular author's content is readable via a URL such as
http://host.fsu.edu/[author]/
where [author] is one of up to about 1,500 names.

Content is writable to that location by an HTTP-Authenticated author
using DAV (www.webdav.org).  All HTTP methods other than GET, HEAD,
and OPTIONS (i.e. the methods that modify content) occur via SSL,
because those methods shall require HTTP-Authentication and the
requisite password transmission must be secure.  The URL would appear
as
https://host.fsu.edu/[author]/

Each author has a staging area for content that is read-writable only
by the HTTP-Authenticated author, via a URL such as
https://host.fsu.edu/[author]/staging/

Miscellaneous:
No Unix UIDs will exist for authors (DAV requires all files to be
owned by the server process).

Is there a configuration that will satisfy all of the above?

I've tried configuring the following platform:
Apache/1.3.19 (Unix) DAV/1.0.2 mod_ssl/2.8.3 OpenSSL/0.9.6
to no avail.  The main obstacle is that there appears to be no way to
instruct Apache/mod_ssl that the location http://host.fsu.edu/[author]/
is to be readable by all, yet writable only by the authenticated
author _via SSL_.

Thanks much for any advice.

Kingsley Kerce [EMAIL PROTECTED]
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]