Yes, I have spent hours reading about this file (really!) and almost all forums describe .htaccess syntax in endless detail but I've found none that give a good conceptual description on the security process behind .htaccess --especially with respect to who is accessing the file.
My website visitors (no logins) run a php script that accesses a textual data file. I don't want anonymous web visitors viewing the data file directly in their browser but they do need access to the data file through the script. I'd experiment more than I already have but I don't want to lock myself out of a directory!
My website visitors (no logins) run a php script that accesses a textual data file. I don't want anonymous web visitors viewing the data file directly in their browser but they do need access to the data file through the script. I'd experiment more than I already have but I don't want to lock myself out of a directory!