In order to verify the data coming from the Google Safe Browsing API, you can calculate a Message Authentication Code (MAC) for each update. The instructions to do this (from Google) are:
The MAC is computed from an MD5 Digest
over the following information:
client_key|separator|table
data|separator|client_key. The
separator...
The Google Safe Browsing API allows for URLs to be checked against Google's database of malware and phishing domains. However, on the Developer's Guide page, it says that the API is experimental and the data format is likely to change.
Although I have had good experiences with a number of Google's APIs in the past, they have all been fa...
There is a banking site that I cannot login to unless I allow all cookies to be accepted. I am using Firefox 3.0 and I have set it to not accept cookies except from the defined list (Tools - Options - Privacy - Cookies - Exceptions). I've added all the sites captured by Live HTTP Headers to the whitelist, but the login is still disabled....
I've looked around but have been unable to find any classes or sample code (in php) for the google safe browsing api.
Would you happen to know where I might find it?
G-Man
...
I'm just getting started with the Google Safe Browsing API to verify destination URLs for my URL shortening service http://lin.cr. Do I have to download the entire list of suspicious sites or is there a way I can run a check only when I need it?
I don't have a crazy amount of traffic on the site, so I think it's easier to do it live.
...
Here is code snippet:
Components.classes['@mozilla.org/safebrowsing/application;1']
.getService().wrappedJSObject.malwareWarden.listManager_
.safeLookup(test_url, function(tableName){
if (tableName == 'goog-phish-shavar' || tableNmae == 'goog-malware-shavar') {
alert('This is reported by Google! ');
}...