I am wondering about the impact of protection by htaccess for a "given" perl file.
Assume Apache as the web server, Linux or Windows as the OS.
I want to protect 1 perl file only with htaccess in a given directory.
Example :
Case 1 : /cgi-bin dir with 4 perl files and 1 protected by htaccess.
Case 2: /cgi-bin dir with 3 perl files and /cgi-bin/secure/ 1 perl file and 1 protected file.
The protected file will be used occasionally by Admin people only to change setting's.
The rest of the perl files are used regularly by the "web people" doing normal business.
I have read the documentation on how htaccess works but I do not see a way to log this, or
view a log of this activity.
Am I better off with Case 1 or Case 2 ? with respect to the lowest impact on the regular web people.
Or is there a better way to do this ?
Thanks
Kode
Assume Apache as the web server, Linux or Windows as the OS.
I want to protect 1 perl file only with htaccess in a given directory.
Example :
Case 1 : /cgi-bin dir with 4 perl files and 1 protected by htaccess.
Case 2: /cgi-bin dir with 3 perl files and /cgi-bin/secure/ 1 perl file and 1 protected file.
The protected file will be used occasionally by Admin people only to change setting's.
The rest of the perl files are used regularly by the "web people" doing normal business.
I have read the documentation on how htaccess works but I do not see a way to log this, or
view a log of this activity.
Am I better off with Case 1 or Case 2 ? with respect to the lowest impact on the regular web people.
Or is there a better way to do this ?
Thanks
Kode