Protecting Data in C++