is mointing /home as noexec ok?

AL-Kateb

Active Member
Feb 27, 2010
28
0
51
Hello everybody

i wanted to ask if it is ok to mount the /home partition as noexec and nosuid ok and won't conflict with my setup.

it's a web server and no scripts are supposed to be executed directly, no support for perl or other cgi scripts except for php which will be ran from apache so i was thinking no need for any user to execute any script in that directory. so i wanted to play it safe and mount it as noexec

is this ok?

thanks