LinkMan txt file sec suggestion
Posted: Fri May 01, 2009 9:47 pm
Version of script: All LinkMan Versions
Secure LinkMan data file from viewing.
Write your message below:
Klem I am posting this as I feel many will not change the name of the main data file that the script writes to, this allows anyone that understands how and where the script writes its data to, the ability to read the file as its plain txt, now because this file will most likely contains email addresses I feel it is important to protect this file from prying eyes and spammers ...
This is what I would do to protect the file:
For those running apache you can use htaccess like so,
Create an htaccess file with this code in it, and upload it to the linkman dir.
<FilesMatch "(^linkinfo).*\.txt$">
Order deny,allow
Deny from all
</FilesMatch>
thus disallowing any outside access to our data file.
Klem, you might want to think of adding this in with the script dl as most scripts out there I have tested seem to have this wide open. just a suggestion unless you have a reasion why this my not be a good idea.
DC
Secure LinkMan data file from viewing.
Write your message below:
Klem I am posting this as I feel many will not change the name of the main data file that the script writes to, this allows anyone that understands how and where the script writes its data to, the ability to read the file as its plain txt, now because this file will most likely contains email addresses I feel it is important to protect this file from prying eyes and spammers ...
This is what I would do to protect the file:
For those running apache you can use htaccess like so,
Create an htaccess file with this code in it, and upload it to the linkman dir.
<FilesMatch "(^linkinfo).*\.txt$">
Order deny,allow
Deny from all
</FilesMatch>
thus disallowing any outside access to our data file.
Klem, you might want to think of adding this in with the script dl as most scripts out there I have tested seem to have this wide open. just a suggestion unless you have a reasion why this my not be a good idea.
DC