Physical aspects in glass-surface analysis