Salt crystallization at surfaces is an important problem for buildings and monuments. We do not consider the formation of salt crystals as such, but focus on transport properties of ions in a drying porous medium. We deal with the first phase of the drying process, where the water is still uniformly distributed throughout the medium. An approximate model is presented, which accounts for both convection and diffusion. It is shown that the key parameter is the Peclet number at the evaporating surface, PehL/D, where h, L, , and D are the drying rate, sample size, porosity, and diffusion constant, respectively. When Pe1 (diffusion dominates over convection) the ions remain uniformly distributed throughout the system. Strong accumulation at the evaporating surface occurs for Pe1 (convection dominates over diffusion). Crossover behavior is found for Pe1. Therefore, it is likely that the first crystals will be formed both in the bulk and at the interfaces of the material when Pe1. For high values of Pe the density peak at the evaporating surface will reach the saturation concentration long before it is reached in the bulk of the material. As a consequence, the salt starts to crystallize at the interfaces.