Broker stop trading

#1
I'm new in this field is it safe to trade through compositedge.com or smart trade online as they are not so reputed like infoline, direct.com or indiabulls. Is my investment safe with them and what will happen if they stop trading or become bankrupt how can I sell my stocks then...:mad: