rule-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RULE] Re: Restricted requirements for RULE website


From: M. Fioretti
Subject: Re: [RULE] Re: Restricted requirements for RULE website
Date: Sat, 13 Mar 2004 19:38:07 +0100
User-agent: Mutt/1.4i

On Tue, Mar 09, 2004 11:53:20 AM +0100, C David Rigby (address@hidden) wrote:

> In summary, all CMS packages seem to require modification and/or
> extension to meet the goals as Marco outlined previously.  Active
> CMS projects may well be willing to help us achieve this goal, if
> that seems interesting to them. Rodolfo's security concerns are
> well-founded, and we need to satisfy his criteria before we throw an
> interactive site on his server.

I've been thinking to the alternative solution below. Please let me
know what you think.

General: giving up mysql for plain text files only is possible but
doesn't scale well, afaik. Once we hopefully have 150/200 pages or sw
packages how do you search them by date, category, whatever? Much more
cumbersome without a database, or maybe not?

Now the proposal. Whenever I or other registered website contributors
want to upload software map entries, news or content to the website:

         1) We do all changes/new files on our PC. Future web pages
         have .txt or .php extension, future news and software map
         entries have .nws or .map extension and a rigidly defined
         format. All plain ASCII stuff. Future web pages are in a
         directory structure mirroring the one online (/, /docs,
         etc...)

         2) A tarball is made with all these new files

         3) The tarball is uploaded on the server via normal ftp with
         password or html form via https.

         4) The tarball is validated inserting its checksum, or
         digital signature in the form

         5) Cron Shell scripts on the server (some already existing)
         convert content to html format, update the dynamic map, 
         and/or the relevant news/software map mysql entries

         6) The scripts also send email to the list to inform about
         new content and update RSS file.

The main differences of this wrt any traditional CMS system are that:

    a) it saves all the admittedly little content we already have
    b) unlike anything PHP/MySQL, we already have some scripts, and I
    am sure I can do the rest of points 5/6 *myself*, without much
    effort or having to read 2/3 more books just for this task.

The main point here is still security, of course, in two parts:

    a) somebody else than me has to describe/figure out/set up points
    3 and 4 above in a safe manner

    b) We have to guarantee that the scripts which parse the tarball
    content cannot damage the website even when that content is
    malicious or simply badly written. Yes, this in principle is
    nothing different that if we had made everything through php forms
    only, but shell scripting I can do myself and submit to peer
    review: that's maybe the main difference

The last missing piece is roles: how to make other (REGISTERED!)
contributors upload stuff in such a way that I am informed, can review
it and authorize publication. I also have ideas about how to implement
this, but I'd rather to know from you if all the above makes sense
first.

Please do come back with lots of critiques and comments!!

Ciao,
        Marco Fioretti
    
-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

There are tasks that cannot be done by more than ten men, or less than
one hundred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]