All my scripts have a #! notation at the top. I would think looking
for any files of this type would indicate scripts (though this may
be unmanageable/inefficient). In any case, it's not clear to me that
looking through old versions of scripts that may exist in a directory
is particularly dangerous (especially if, as you say, they are are typically
saved with a common suffix).
By default, many systems don't allow read access to "world" in the umask. If
you run the server as "nogroup" you would thus need to "make public" each
file after you've written them. Even if this isn't the case, you can do
things like set emacs to backup files to a mask that prevents group/world
read. BTW, some previous random tests have found that
about 80% of all Plexus based servers out there have their scripts wide open and readable
by just knowing a common place to look for them (this may have changed, though).
In general, I actually prefer this since it makes it easier to share scripts
(though I agree it is dangerous).
Even if we assume that we segregate scripts into seperate
directories for users, we can't let all the users use the same bin
directory for scripts (one possible solution is assuming
by default in the httpd server a public_html/cgi-bin directory for add-on users...?).
>
> Any comments?
>
> rst
>
Rich