I have a question with security point of view, it might sound silly but i\'m very interested to know. If someone uploads his code on shared hosting (assuming some general US
This depends on how the individual web hosting company have setup there systems.
You need to trust the company you are hosting with but any half decent hosting company should have it locked down so customers can't access each others code. It is always a risk that someone with access to the same server could find it easier to access your data but again this shouldn't be a massive issue with a trusted well known provider.
The best bet is to read company reviews and see what existing customer think about them.