Explain the importance of proper server configuration and ways to mitigate the risk of server compromise.