Actually the primary problem here is that the question is overly broad.
Your questions should be reasonably scoped. If you can imagine an entire book that answers your question, you’re asking too much.
This question would take at least a book to answer properly, and probably several books.
Moreover, you've asked for recommendations for learning material, which is expressly disallowed on Server Fault.
I can't see any good way to improve the question so that it could be reopened. In the future, try to scope your questions to specific practical issues that you are facing.
You may also want to visit our sister site IT Security and search there for information of interest to you. Their site rules are slightly different, as well, so be sure to check their FAQ as well as search.