siting on the ground

So im told that i should sit with my legs in a w when sitting on the ground and i shouldnt sit with one leg bent backwards. These two are my most comfortable positions. Are they harmful? I hAve had a lot of people tell me not to that it harms baby but they dont know anything more than that or why.