All Morrocan Sahara is safe. Be careful with heat, drink bottled water. Every little town and village have small shops selling bottled water (~6 Dirhams).
All small towns such Erfoud, Rissani, Zagora, Mhamid have plenty of good quality pharmacies where you can get most of necessary stuff.
Unemployment is high, and this is one of the countries touristic destination. Expect young boys proposing guidance through the desert. You are not obliged to, so if you don't want don't pressure yourself getting one, just smile and say no.