dev@glassfish.java.net

Re: request asarch review for deploy command enhancement in GlassFish

From: ??? <lvsongping_at_gmail.com>
Date: Wed, 29 May 2013 23:03:59 +0800

2013/5/29 Sahoo <sanjeeb.sahoo_at_oracle.com>

> 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.
>
  Thanks for Sahoo's suggestion about this, I will take a look about vc and
do some investigation about this if possible!

Thanks again

-Jeremy