Permission Level for the user or group can be modified to restrict the user to edit in SharePoint designer.
સાઇટ સેટિંગ્સ -> Advanced Permissions
Click Advanced Permissions, Select Settings -> પરવાનગી સ્તર
You can add/edit existing permission level.
Uncheck Browse Directories Permission level.