Re: integrating images

Werner LEMBERG <[email protected]> Wed, 08 Jun 2005 06:57:33 +0200 (CEST)
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
> > Thanks, but this doesn't really answer my question.  Assume that I
> > want to integrate hundreds of images into my wiki, I wonder about the
> > ideal location to store them?  What about
> > <prefix>/moin/mywiki/data/img?  IMHO it should be a location *within*
> > the `moin' tree.
> 
> Its not clear what is "integrate hundreds of images into my wiki". 
> Describe how you are going to use the images in the wiki. Are you going 
> to show them on one page? few pages?

Well, this was a theoretical example.  In reality I have a few images
per page.

> > Isn't the use of `attachment' deprecated due to potential security
> > problems?
> 
> No its not.

Aah, I just see that on my local `HelpOnConfiguration/FileAttachments'
page (from the 1.3.4 bundle) I still have

  Note that we plan to remove that option in 1.4. Because of that and
  the security problems noted below, we do not recommend that option.

which has been removed on the MoinMoin site.

Is there an alternative method to upload such attachments to avoid DoS
attacks?  For example, having a temporary ftp address where you have
to upload the file together with an md5 file, or (even better) a
GPG-signature?  A cron script then checks for the validity and
integrity of the file and copies it to its final destination.


    Werner


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20