Symfony installation in shared hosting.

With SSH I install a symfony project in the public_html / myname directory. I assign the domain name to point to myname / web directory. Is there a defect in that? Maybe a security problem or something else.