How to Fix SA-CORE-2013-003 on Drupal Public or Temporary Files Directory

How to Fix SA-CORE-2013-003 on Drupal Public or Temporary Files Directory 640 258 Jesandy

Got this error message on status report after install the Drupal latest version >v.7.24 : Public files directory SA-CORE-2013-003

How-to-Fix-SA-CORE-2013-003-on-Drupal-Public-or-Temporary-Files-Directory

 

Step by Step how to solve

Go To your cpanel

Open .htaccess file on sites>>default>>files

the default should be

SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks

Replace all code with:

# Turn off all options we don't need.
Options None
Options +FollowSymLinks
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
# If we know how to do it safely, disable the PHP engine entirely.
php_flag engine off

And save

 

For problem on temporary files directory (/tmp):

go to your admin >> config >> media >> file-system

on the Temporary directory field add “..” in front of /tmp so it should be like this:

../tmp

Jesandy

"Jesus Believer, Founder of BEBRIGHT, CEO of SEOLangit.com, Digital Marketers, Brand Marketing Consultant, Game Reviewer, @zadewagaming contributors, Traveler, Movie Freaks, Pizza Lovers, SEO Specialist, Webmaster and Drupal Enthusiast"

All stories by: Jesandy

Leave a Reply

Your email address will not be published.