Well, Trains can stop anywhere between two stations and there is nothing to prevent anyone from boarding or de-boarding at such halts. Further,the sheer volume of passengers make it virtually impossible to frisk everyone and screen everything efficiently.