# Preventing malicious linking

**URL:** https://meta.discourse.org/t/preventing-malicious-linking/37982
**Category:** Feature
**Created:** [January 15, 2016, 3:07am UTC](https://meta.discourse.org/t/preventing-malicious-linking/37982 "2016-01-15T03:07:44Z")
**Posts on this page:** 1
**Showing post:** 27

<div class="post-metadata">

### Author: ![Sudaraka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sudaraka/32/68401_2.png) [@Sudaraka](https://meta.discourse.org/u/Sudaraka)
#### Post date: [December 7, 2017, 5:52pm UTC](https://meta.discourse.org/t/preventing-malicious-linking/37982/27 "2017-12-07T17:52:53Z")

</div>

Hi,  
I will be building a plugin for preventing malicious linking. I would like to do it in two phases.

**Phase 1 :**

- Query each link in google safe browsing API for the first time and if it is a malicious link, store the details in the plugin store.
- When the user clicks the same link after the first time, the plugin will know that the link is malicious by querying the plugin store.

**Phase 2 :**

- I will implement a way to cache the results from google API .
- Cache will be expired after a given time period.

---

_[View the full topic](https://meta.discourse.org/t/preventing-malicious-linking/37982)._
