dev@glassfish.java.net

Re: request asarch review for deploy command enhancement in GlassFish

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Wed, 29 May 2013 14:00:22 +0530

On Wednesday 29 May 2013 09:42 AM, Bill Shannon wrote:
> Sahoo wrote on 05/28/2013 07:55 PM:
>> On Wednesday 29 May 2013 04:14 AM, Bill Shannon wrote:
>>> Adding hooks for a virus checker (again, a separate project) seems like a good
>>> thing, but I'm not sure how using a staging directory would help that.
>> A very simple way to implement virus checking functionality is to add a protocol
>> handler called "vc" and decoarating the input URL with vc. e.g., if
>> administrators deploy:
>>
>> asadmin deploy vc:http://....,
>> then virus checker can intercept the input stream and scan it before returning.
> If virus checking is implemented, it should be required, not optional.
One way to manade would be to enforce use of vc like protocol or
automatically decorate the url with vc protocol.