i've read if taking the sun with a window between the sun and the person, not directly, can be dangerous for the skin because it blocks UVB (which says is the good rays) and the UVA can pass (which says is the bad rays)... also it says it blocks the vitamin D production
does it have any sense?
Both rays can cause damage to the skin in excess. But there may be something to the claim:
http://www.ncbi.nlm.nih.gov/pubmed/19155143
Cutaneous malignant melanoma (CMM) has been increasing at a steady exponential rate in fair-skinned, indoor workers since before 1940. A paradox exists between indoor and outdoor workers because indoor workers get three to nine times less solar UV (290-400 nm) exposure than outdoor workers get, yet only indoor workers have an increasing incidence of CMM. Thus, another "factor(s)" is/are involved that increases the CMM risk for indoor workers. We hypothesize that one factor involves indoor exposures to UVA (321-400 nm) passing through windows, which can cause mutations and can break down vitamin D(3) formed after outdoor UVB (290-320 nm) exposure, and the other factor involves low levels of cutaneous vitamin D(3). After vitamin D(3) forms, melanoma cells can convert it to the hormone, 1,25-dihydroxyvitamin D(3), or calcitriol, which causes growth inhibition and apoptotic cell death in vitro and in vivo. We measured the outdoor and indoor solar irradiances and found indoor solar UVA irradiances represent about 25% (or 5-10 W/m(2)) of the outdoor irradiances and are about 60 times greater than fluorescent light irradiances. We calculated the outdoor and indoor UV contributions toward different biological endpoints by weighting the emission spectra by the action spectra: erythema, squamous cell carcinoma, melanoma (fish), and previtamin D(3). Furthermore, we found production of previtamin D(3) only occurs outside where there is enough UVB. We agree that intense, intermittent outdoor UV overexposures and sunburns initiate CMM; we now propose that increased UVA exposures and inadequately maintained cutaneous levels of vitamin D(3) promotes CMM.Increased UVA exposures and decreased cutaneous Vitamin D(3) levels may be responsible for the increasing incidence of melanoma.
Abstract
Keep in mind though that glass will block UVB but some of the newer glasses can also reduce UVA as well.