The Site Security Recommendations recommend that you add the following to an .htaccess file and place in your folders:
Now, I've seen references throughout the forums here (after someone got hacked) to use the following to prevent directory browsing and access to files:Code:#.htaccess to prevent unauthorized directory browsing or access to .php files IndexIgnore */* <Files *.php> Order Deny,Allow Deny from all </Files>
Code:OPTIONS -Indexes -ExecCGI
My question, do both of these do the same thing? Is one more efficient than the other? Should they both exist in the .htaccess?



