|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Here is a tutorial I wrote about creating a custom security log using PHP. It includes definitions for all the terms, $_SERVER, REMOTE_ADDR, REQUEST_METHOD, PHP_SELF, QUERY_STRING,REQUEST_TIME fopen, fclose, fwrite, etc., an explanation for the function/script and the complete finished code with instructions on how to use it.
Create Your Own Security Logs
__________________
I use Country IP Blocks as added security for my networks and servers. |
|
||||
|
The script could be useful for auditing login attempts and other application-level tasks, however, relying upon one's own PHP-generated logs for all activity would add significant overhead for each page request and defeat the purpose of existing log analysis tools.
__________________
Dan LeFree | Product Manager (Linux VPS Hosting) | Owner/Operator (Web development, marketing) |
|
|||
|
Quote:
Thank you for responding.
__________________
I use Country IP Blocks as added security for my networks and servers. |
|
|||
|
I agree with you Wige. Good post. However, your .htaccess directive is not going to work on every system. Again we get into configuration differences, whether .htaccess is available to the site owner, etc.
Quote:
I have tested your solution and received errors. I have not tested the solution mentioned in the quote above. But will do so. The best solution is to have all log entries available, and use log analysis tools as mentioned by danlefree.
__________________
I use Country IP Blocks as added security for my networks and servers. Last edited by Tech Manager; 05-18-2009 at 01:10 PM. Reason: clarification |
|
||||
|
After trying various add-on scripts I found that "The best solution is to have all log entries available, and use log analysis tools" as it was mentioned above. I'd recommend the inexpensive but comprehensive and easy-to-interpret tool:
Easy Web Traffic Analysis. Understanding Web Site Visitors and SEO. Web Analytics for Business Owners. Get better ROI! I use it successfully for the last 1 year. I love auto-reporting feature since I am busy and can forget to download the report for comparison with previous weeks.
__________________
The Cyber Teacher http://www.rtek2000.com http://www.800-webdesign.com/web-master-links.html -Free Web Master's Resources _________________ |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ASP programmer wanted to create security image | supernatural_247 | Services for Sale/Hire | 2 | 10-26-2005 02:02 PM |
| A Fox In the Logs | WPW_Feedbot | Marketing Strategies Discussion Forum | 0 | 01-26-2005 11:00 PM |
| Dial-up logs on by itself | jawn_tech | Internet Security Discussion Forum | 6 | 11-03-2004 12:21 PM |
| Firewall Logs | mushroom | Internet Security Discussion Forum | 3 | 06-23-2004 05:16 AM |
| Web Logs | ajpaulus | Marketing Strategies Discussion Forum | 6 | 04-03-2004 02:35 AM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |