# Pre-filter all possible input datas in onBootstrap()

**URL:** <https://discourse.laminas.dev/t/pre-filter-all-possible-input-datas-in-onbootstrap/123>\
**Category:** Components & MVC\
**Created:** [May 22, 2017, 7:14am UTC](https://discourse.laminas.dev/t/pre-filter-all-possible-input-datas-in-onbootstrap/123 "2017-05-22T07:14:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stellar124](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@stellar124](https://discourse.laminas.dev/u/stellar124)\
**Post date:** [May 22, 2017, 7:14am UTC](https://discourse.laminas.dev/t/pre-filter-all-possible-input-datas-in-onbootstrap/123/1 "2017-05-22T07:14:10Z")

</div>

Hello,  
I wonder if it is secure enough to check (for security reason) and filter (override) all possible input datas (get, post, cookie, session) in onBootstrap before any process? Can I override theese input datas (in Request object) in this way?

My application is very limited for user input data, i already use a common security filter (striptags, length etc.) that has been properly for all mentioned input data type checking.

Is there any other input data type that i should check ( instead of get, post, cookie and session) ?

Is it good way anyway?

sorry for my english 🙂

thanks
