Re: [Soaplab-users] How to add limits in ACD ?
Brought to you by:
marsenger
From: Sebastien M. <Seb...@un...> - 2008-09-12 12:02:03
|
Martin Senger a écrit : > Hi, > > I would like to add some limits to user inputs. > > > A lot depends of what is the meant by the user inputs. For the examples > you mentioned: > > > Max number of sequences > > Max sequence length > > > If these maximums are values of the command-line options, Soaplab should > be able to define it in the ACD files. But I am not sure now if this > kind of validation was already implemented. > > But it is likely that you think rather about limits of the contents of > an input file. One can limit it by writing her/his own data input > adapter. But even with an adapter, the original input is transmitted > anyway to the Soaplab service - whcih may be what you want to avoid. In > such case, Soaplab cannot help - it must be validated on the client size. What a pity ! > Max upload size > > > The only file uploading in Soaplab2 is in the Spinet web interface. At > the moment, it does not provide a property that can limit the size of > the uploaded size, but it would be very easy to add it there. It is a > good idea, and I will do it (but not in the next two weeks - I will be > on a conference and on a vacation in the remote parts of Asia). I think it should be a good think for security purpose. Maybe we can do this kind of think via Tomcat parameters. > Cheers, > Martin Best regards Sébastien -- Sébastien Moretti SIB EMBnet, Quartier Sorge - Genopode CH-1015 Lausanne, Switzerland Tel.: +41 (21) 692 4056/4221 |