BYOD has many benefits, but it also comes with security risk. Here are some of the key ways that companies can secure their data.