When creating a new site, there are files visible to users (for example, the registration page, the news adding page), there are file handlers (for example: clicked to send the news and it is redirected through the handler, indicating that the news or error was successfully published).
What files to hide using htaccess without harming the functional site?
- Those, the concealment of which will not harm the site’s functional. - mJeevas
|
1 answer
In a modern application, the only PHP file that lies at the root of the site is index.php. The remaining program files are located above the root of the site and are not available for a direct request to the web server.
If we talk about the application of the old sample, consisting of individual files, then no close is not necessary. Anyway, they are not needed for anyone.
- I support. Just remember to leave open styles, scripts and images - tutankhamun
|