29.06.2013, 19:16
Well, what you can do is to create the user which the home directory is the web server folder you want.
And then, you execute chmod command to give / remove rights.
Like, you have 3 folders in the web server directory, called "system", "design", "modules" for example, then you do things like:
That should do the trick i guess, the unique thing which can appear is the apache "access denied" error, not sure though
And you may chmod the forum / other files, so they don't have access to it.
Instead of that, i don't have any idea to do such thing.
And then, you execute chmod command to give / remove rights.
Like, you have 3 folders in the web server directory, called "system", "design", "modules" for example, then you do things like:
Code:
adduser system -d /var/www/html/system chmod 700 /var/www/html/system adduser design -d /var/www/html/design chmod 700 /var/www/html/design adduser modules -d /var/www/html/modules chmod 700 /var/www/html/modules
And you may chmod the forum / other files, so they don't have access to it.
Instead of that, i don't have any idea to do such thing.