CodeIgniter Forums

Full Version: How did Google crawler indexed our views php files !?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear friends,

Using google console we discovered that google has crawled to some php files in the views folder , Any idea how did google know these files names as paths ?

See attachments
If you open /apps/frontend/views/default/templates/main/ in a browser, can you see the files?
Most likely someone deleted or tampered with the .htaccess file that is supposed to be found in /application

Its contents prevent direct HTTP access to files and folders in /application.

Code:
<IfModule authz_core_module>
    Require all denied
</IfModule>
<IfModule !authz_core_module>
    Deny from all
</IfModule>