This file must be password protected all the times.
Upload this file reindex_core.php to a new directory in document root ie: public_html. Password protect the folder.
##############htaccess##########
AuthName "[login user]"
AuthType Basic
AuthUserFile /home/[username]/.htpasswd
Require valid-user
###############
htpasswd -c /home/[username]/.htpasswd [login user]
Provide a password
chown [username]:[username] /home/[username]/.htpasswd
chmod 644 /home/[username]/.htpasswd