摘要:Code dissemination is very useful to remotely fix bugs or add now functions in wireless sensor networks (WSNs) after sensors deployed. Hostile environments keep the secure code dissemination a major concern. The Deluge-based protocols are the widely used code disseminations, however, which have to take much energy and memory to deal with the problem caused by out of order delivery of packets in WSNs. Rateless erasure codes based approaches can reduce the overhead, while failed in defeating DoS attacks. This paper proposed a novel code dissemination scheme, which integrates immediately authentication into rateless erasure codes. The analysis shows that proposed scheme can provide code image confidentiality, bogus code image protection, DoS protection and reliable enhanced property.