Described herein are modified sugar, iminosugar and azasugar compounds and methods of making same. One or more of these modified compounds contain sulfates, sulfites, sulfamates and/or sulfonamides. Also described are pharmaceutical compositions/formulations comprising these compounds, as well as methods using these modified sugar compounds for the treatment of MPS IIIC (also known as Sanfilippo Type C).