Safe Unserialization

Ok how do I secure the serialization?