For a website, sometime we used more than a script that separated, yes separated and dont have connection at all each other

for example
domain.com is a forum, using vbulletin
domain.com/blog is a blog, using wordpress
domain.com/store is ecommerce, using oscommerce
domain.com/article is article cms, using joomla
etc


so for security best practice, like if one of the script get hacked or get something wrong,
another script files in another folder,
and another mysql database,
is still secure


can we do that? if so how to do that actually? its looks like simple and basic, but i am still not sure how to do it

if there is tutorial link please let me know too, still cant found it

First, run a checksum on all of the files, except those files that may get changed in the normal course of network access. Daily, re-run the checksums and see if any have changed. If they have, then you have been compromised. One VERY important consideration is to learn how to immunize your site from two common exploits, cross-site scripting (CSS) and SQL injection attacks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.