Nowadays, the use of wireless sensor networks in various applications areas such as environmental monitoring, military and industrial fields has rapidly increased. However, the limitations of WSN in the terms of memory, computation, energy and scalability, limit the usability of sensor data. We need a powerful and scalable computing infrastructure to increase the utilities of WSN. Sensor-cloud infrastructure has been proposed to provide a flexible platform for collecting, processing and sharing of large amount of sensor data from different applications. This paper focuses on secure processing of sensor data in the collaboration of WSN and cloud, and proposes a novel data processing framework for integrating WSN with cloud computing.