Based on the search results, it is not clear whether a welding mask can be used to view a solar eclipse. However, it is important to note that looking directly at the sun, even during an eclipse, can cause permanent eye damage or blindness. Therefore, it is recommended to use proper eye protection when viewing a solar eclipse. NASA recommends using handheld solar viewers or solar eclipse glasses to safely view a solar eclipse. These glasses are specifically designed to filter out harmful ultraviolet and infrared radiation and should meet the ISO 12312-2 international safety standard. It is important to ensure that the glasses are not damaged or scratched and that they are used correctly to avoid eye damage.