What I can do for you is help start you on the correct path......We need to gauge your depth of knowledge on this topic already.
I have PM'ed a link to download one of my study ebooks (from my cloud) that I want you to read through, and then present any questions you may have here on the forum.
Its titled "The Browser Hackers Handbook".....A complete guide!
To truely understand security, we must learn the methods that Blackhat Hackers use, and then learn to Implement them in an Ethical fashion for our own protection against them.
Does this make sense? In order to be a better Golfer, we should try to emulate Tiger Woods swing as well as his short game!
Check the book out, and set yourself an understanding that puts you on the right track.
I have another great learning curve book regarding 'Web Security', once you are done with this one!
Let me know if there are any issues with the download.