Legality of spread betting websites in India

I understand that it is illegal to send money to foreign country to trade in margin products like spread betting . But is the use of websites illegal? Many CFDs and spread betting websites provide demo trading and educational products. Is accessing websites and creating accounts for same from India legal?