Sanitize database related variables management