Minor change/feature request (Full Version)

All Forums >> [Web & Mail Security] >> GFI WebMonitor



Message


justme -> Minor change/feature request (9.Apr.2009 2:26:41 PM)

Ok so I just upgraded to the Webmonitor 2009 version. Have to say I like it, especially the new refresh option on the dashboard page (I had to hack the dashboard page in WM4 for it, see an earlier post by me [;)]).

I did some testing and noticed that the block page now has a link if someone thinks that a site is blocked for the wrong reason. However, this link goes to the webgrade page at GFI so someone can report it! I'm guessing this is going to cause a tidlewave of data for GFI to sort through, because every single user that thinks he/she is blocked for the wrong reason will report it on this website (I know about 200 of those idiots in my company [:@]). I changed the link in the blockmsg.htm page to a mailto link so an email is opened to me so someone can report it to me. I can then decide to whitelist the page or not.

It might be a good idea to put this as a option in the webmonitor admin tool (although that might be a bit hard to program, I'm no expert on that). At least it will give administrators a way to get reports if sites are blocked that need to be whitelisted. The administrators can submit a change for the webgrade at a later stage if they see a reason for it.




KOCTA -> RE: Minor change/feature request (15.Apr.2009 6:13:45 AM)

I agree, it's the useful suggestion.

Moreover, I'd like to have more flexibility in user messages -- in .htm and e-mails both.




HPC_User -> RE: Minor change/feature request (17.Apr.2009 10:26:24 AM)

Paul -

Good idea! - Can you paste your sample code here for the rest of us?
Thanks,




justme -> RE: Minor change/feature request (20.Apr.2009 1:29:08 AM)

David,

This is the piece of code I edited in the blockingMSG.html (this file is located in the Webmonitor\Interface directory):

<a href='http://www.gfi.com/webmon/webgrade/index.asp'>

I changed it to:

<a href='mailto:your email address here'>

The piece of code is located in line 8 of the html code in the piece that says If you believe the site was incorrectly categorized etc.

Hope this helps!




HPC_User -> RE: Minor change/feature request (20.Apr.2009 10:13:40 AM)

Thanks, Paul - that was pretty simple and straightforward - good job!




ian_fermo -> RE: Minor change/feature request (10.Jun.2009 2:54:04 AM)

Hi Paul,

I have used your code and it really helps. But is there a way wherein if you mailto a specific email account that we can attached/insert the URL of the said block site?

Thanks...




justme -> RE: Minor change/feature request (10.Jun.2009 3:08:10 AM)

Hi Ian

I'm not that good with HTML to figure that out unfortunately. If someone can tell me how to do that I would be VERY happy [:D]. I have some users sending me emails to unblock sites without sending the URL.

I have made a change to the URL however, so at least you will get a subject and a small message body:

<a href='mailto:your email address here?body=Place%20website%20here:%20&subject=Blocked%20Site'>here</a>.




ian_fermo -> RE: Minor change/feature request (10.Jun.2009 6:26:09 AM)

Hi,

Thanks for that Paul. But it will be really good if we can include the URL when reporting that it was blocked. For sure there will be some code there that we need to look into.

Cheers...




DrewE -> RE: Minor change/feature request (10.Jun.2009 5:22:51 PM)

DISCLAIMER: The following post is UNSUPPORTED, UNTESTED,  AND COULD RESULT IN A SMALL SECURITY RISK TO YOUR NETWORK


Using a bit of javascript you could write out the mailto: link as the following:
------------------------------------------------------------------------------------------------

<script type="text/javascript">

var emailaddress="MyEmailAddress@MyDomain.com";
var Reason2=Reason.replace(" ","%20");

document.write("<a href=mailto:" + emailaddress + "?subject=GFI%20WebMonitor%20Blocked%20Notification&body=" + Reason2 +

">Email Support</a>");
</script>

------------------------------------------------------------------------------------------------


Please keep in mind that this is completely unsupported (and somewhat untested with GFI WebMonitor) It works in the simple test it was designed in but could cause errors when GFI WebMonitor passes the reason into the e-mail body.  Also, with proper knowledge it could impose a slight security risk as the Reason string has not been properly sanitized for use like this.




Page: [1]