Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

User's Directories and security

0 views
Skip to first unread message

Marcus Roberts

unread,
Nov 18, 1993, 11:09:19 AM11/18/93
to
One of the "newish" features of NCSA's httpd is the user's directory concept,
with access to a user being specified as a URL of the form

http://<machine name>/~<user id>/

Whilst this is an excellent feature practically, it makes me wonder about
releasing your user id to the world. It seems to be growing in acceptance
that e-mail addresses should be advertised as initial.surname@machine or
something similar, rather than userid@machine. This avoids any potential
crackers being able to tie a host name and user id together in any break-in
attempts.

The URL outlined above seems to achieve this however - a paired user id and
hostname.

So - is there some way around this currently?
- could the existing user authentication stuff be expanded to store user
aliases and home directories
- is this a big problem anyway?

Thanks

Marcus

Server admin for <http://web.cs.nott.ac.uk/>

----
m.ro...@cs.nott.ac.uk Communications Research Group
Dept. of Computer Science
Nottingham University, UK


Rob McCool

unread,
Nov 19, 1993, 6:41:36 AM11/19/93
to
Marcus Roberts (m...@trellis.cs.nott.ac.uk) wrote:
: One of the "newish" features of NCSA's httpd is the user's directory concept,

: with access to a user being specified as a URL of the form

: http://<machine name>/~<user id>/

: Whilst this is an excellent feature practically, it makes me wonder about
: releasing your user id to the world. It seems to be growing in acceptance
: that e-mail addresses should be advertised as initial.surname@machine or
: something similar, rather than userid@machine. This avoids any potential
: crackers being able to tie a host name and user id together in any break-in
: attempts.

Yes, but someone could just finger @ the machine and get the user id's
anyway...

: The URL outlined above seems to achieve this however - a paired user id and
: hostname.

: So - is there some way around this currently?
: - could the existing user authentication stuff be expanded to store user
: aliases and home directories
: - is this a big problem anyway?

A feature I left out is the ability to disable user directories entirely, or
to alias them. I am planning to get back to it..

What this would mean is that in the future, you could Alias /~Your.Name/ to
your home directory and disable the user-supported directories feature.

--
Rob McCool, ro...@ncsa.uiuc.edu
Software Development Group, National Center for Supercomputing Applications
It was working ten minutes ago, I swear...

Magnus Homann

unread,
Nov 19, 1993, 10:59:58 AM11/19/93
to
>>>>> On 19 Nov 1993 11:41:36 GMT, ro...@ncsa.uiuc.edu (Rob McCool) said:

Rob> A feature I left out is the ability to disable user directories
Rob> entirely, or to alias them. I am planning to get back to it..

I tried (with httpd1.0a3?):

Directory /users
Method GET {
deny from all
}

... and it seemd to work. Perhaps it doesn't?

Homann
--
Magnus Homann Email: d0a...@dtek.chalmers.se
URL: http://www.dtek.chalmers.se/DCIG/d0asta.html

Rob McCool

unread,
Nov 19, 1993, 12:55:09 PM11/19/93
to
Magnus Homann (d0a...@dtek.chalmers.se) wrote:
: I tried (with httpd1.0a3?):

: Directory /users
: Method GET {
: deny from all

: }

This works, but what I mean is an explicit way of disabling it (in case not
all of your users are in one directory).

Bjoern Stabell

unread,
Nov 22, 1993, 5:35:21 PM11/22/93
to
In article <2cj19t$k...@vixen.cso.uiuc.edu>, ro...@ncsa.uiuc.edu (Rob McCool) writes:

] Magnus Homann (d0a...@dtek.chalmers.se) wrote:
] : I tried (with httpd1.0a3?):
]
] : Directory /users
] : Method GET {
] : deny from all
] : }
]
] This works, but what I mean is an explicit way of disabling it (in case not
] all of your users are in one directory).

A work-around (or even better solution?) is to disable all
directories except the ones mentioned in access.conf by
specifying (for NCSA httpd1.04a):

<Directory />
Options FollowSymLinks # DON'T let users run scripts
AllowOverride Limit FileInfo # ------------ " ------------
<Limit GET>
deny from all # or whatever you want
</Limit>
</Directory>

(or something even stricter) in access.conf.

To Rob: Perhaps you should have such an entry in your provided
access.conf file labled "default access control" or something?
This is nice since often you'll want to have a different access
configuration for the main WWW-directory hierarchy and
"everything else" (including user directories which you have no
control over).


Bye,
--
Bjørn Stabell
(bjo...@staff.cs.uit.no)

Rob McCool

unread,
Nov 23, 1993, 8:27:44 AM11/23/93
to
Bjoern Stabell (bjo...@stud.cs.uit.no) wrote:
: To Rob: Perhaps you should have such an entry in your provided

: access.conf file labled "default access control" or something?
: This is nice since often you'll want to have a different access
: configuration for the main WWW-directory hierarchy and
: "everything else" (including user directories which you have no
: control over).

A reasonable idea.

Peter Flynn

unread,
Nov 23, 1993, 10:33:20 AM11/23/93
to

I'm just about to start delving into forms: there have been a few URLs
circulated which point at examples, but (of course) I didn't save them.
Could someone please point me at a few of them, and at where the specs
are (I couldn't find them at info.cern.ch :-) nor ncsa.uiuc.edu...)

///Peter

Rob McCool

unread,
Nov 23, 1993, 11:18:20 AM11/23/93
to
Peter Flynn (pfl...@curia.ucc.ie) wrote:

: I'm just about to start delving into forms: there have been a few URLs


: circulated which point at examples, but (of course) I didn't save them.
: Could someone please point me at a few of them, and at where the specs
: are (I couldn't find them at info.cern.ch :-) nor ncsa.uiuc.edu...)

http://www/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html

From there you'll find examples.

Frank Peters

unread,
Nov 23, 1993, 11:28:13 AM11/23/93
to
In article <2ctd4c$c...@vixen.cso.uiuc.edu>

ro...@ncsa.uiuc.edu (Rob McCool) says:
>Peter Flynn (pfl...@curia.ucc.ie) wrote:
>
>: I'm just about to start delving into forms: there have been a few URLs
>: circulated which point at examples, but (of course) I didn't save them.
>: Could someone please point me at a few of them, and at where the specs
>: are (I couldn't find them at info.cern.ch :-) nor ncsa.uiuc.edu...)
>
>http://www/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html

For those of us outside of NCSA that would be:

http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html

Nathan Torkington

unread,
Nov 23, 1993, 5:41:51 PM11/23/93
to

Chris A. Shenefiel

unread,
Nov 23, 1993, 4:04:28 PM11/23/93
to

I saw the reply post on where to find forms examples, but I couldn't get it
to work...Does anyonelse know where to find forms examples?

Thanks

--------------------------------------------------------------------
Chris Shenefiel
Member Technical Staff

Opinions expressed do not reflect those of the management...
--------------------------------------------------------------------

Peter Flynn

unread,
Nov 24, 1993, 6:52:51 AM11/24/93
to
In article c...@vixen.cso.uiuc.edu, ro...@ncsa.uiuc.edu (Rob McCool) writes:
>Peter Flynn (pfl...@curia.ucc.ie) wrote:
>
>: I'm just about to start delving into forms: there have been a few URLs
>: circulated which point at examples, but (of course) I didn't save them.
>: Could someone please point me at a few of them, and at where the specs
>: are (I couldn't find them at info.cern.ch :-) nor ncsa.uiuc.edu...)
>
>http://www/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html

Alas, Requested document (URL
http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html
could not be accessed.

The information server either is not accessible or is refusing to serve
the document to you.

This happened yesterday, both with the hostname and the IP address :-(

///Peter

>--
>Rob McCool, ro...@ncsa.uiuc.edu
>Software Development Group, National Center for Supercomputing Applications
>It was working ten minutes ago, I swear...

Hehe. _I_ swore...

Peter Flynn

unread,
Nov 24, 1993, 6:58:45 AM11/24/93
to
Plus another trick: how do I specify to mail the completed form to someone?
<form action="mailto:user@node"> doesn't work, so do I need a script?

///Peter

Marc Andreessen

unread,
Nov 24, 1993, 1:16:51 AM11/24/93
to
In article <CGzvx...@curia.ucc.ie> pfl...@curia.ucc.ie (Peter Flynn)
writes:

Plus another trick: how do I specify to mail the completed form to someone?
<form action="mailto:user@node"> doesn't work, so do I need a script?

You're in luck...

http://south.ncsa.uiuc.edu/forms.html

Cheers,
Marc

--
Marc Andreessen
Software Development Group


National Center for Supercomputing Applications

ma...@ncsa.uiuc.edu (MIME welcomed here)

Peter Flynn

unread,
Nov 24, 1993, 7:34:35 AM11/24/93
to
In article 93Nov2...@wintermute.ncsa.uiuc.edu, ma...@ncsa.uiuc.edu (Marc Andreessen) writes:
>In article <CGzvx...@curia.ucc.ie> pfl...@curia.ucc.ie (Peter Flynn)
>writes:
>
> Plus another trick: how do I specify to mail the completed form to someone?
> <form action="mailto:user@node"> doesn't work, so do I need a script?
>
>You're in luck...
>
> http://south.ncsa.uiuc.edu/forms.html

Thanks, that's great.

While you're at it, take a look at
<a href="http://curia.ucc.ie/info/net/eec_english.html">the future</a> of our language.

///Peter

0 new messages