YO!
The best thing you need to do is to think and don't ask. It's good to get some advice but it's pretty dangerous sometimes. Security starts at you and not from the other's concepts.
Do not open source your program if it needs security. How can u call it secured if u let other people know what's inside.
* The best solution is always your self.
Trust your self and you shall see
cya,
AgentKelly