Login Form



PHP Dansguardian Admin
PHP Dansguardian Admin PDF Print E-mail
Written by Kyle Mott   
Monday, 09 June 2008 20:39

Status

As of right now (July 2009), I have no time to look into this. I may do it eventually, if demand is high enough. If you really want this, drop me a line, and I may still be able to do it.

 

Overview

I am contemplating writing a front-end to administer Dansguardian installs. The 2 main installs I use DG at are in my house (personal) and at my church. When I need to unblock something because it thinks it's bad content, it's rather cumbersome to have to go in and edit the file manually, save it, restart DG, and re-test. I wanted an easier way to do this, and even more. I'd also like it to serve as the access denied URL, allowing users to email the site admin if they think it's not correct. Should be pretty easy to do, just need to find time to do it. I may also hook it into QCodo, but that may prove to be too complicated.

Core Functionality

  • Administration
    • Must be able to edit (save) the files in /usr/local/etc/dansguardian or /etc/dansguardian as the user running Apache2.
    • Once an edit is made, you need to add a hook into the application to actually restart dansguardian. Probably have to do this via sudo.
    • Should be able to view pages that were 'hit' as 'bad'. We can store them in a flat-file or MySQL DB. Should be able to purge the log file hit list.
    • Authentication will be provided via .htaccess, nothing built-in.
    • Should use some type of standard HTML/CSS template so that presentation and editing of content is "pretty".
  • End-user
    • When an end-user browses to a site that is deemed inappropriate, they will get redirected to the "Access Denied URL", which will be another PHP script that displays a nice "You can't browse to this site" message, as well as let them email the site admin why they think the site should actually be allowed through.
    • This"Access Denied URL" PHP file will also record the date, time, user, ip, url, and reason for the access denied message in the log file hit list (MySQL or flat-file).
    • Should use some type of standard HTML/CSS template so that presentation and editing of content is "pretty".

Project Details

Last Updated on Friday, 10 July 2009 08:49
 


Poll

Who's Online

We have 6 guests online