Police have warned internet users to be careful over the amount of information they reveal online.