Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate long urls before shortening #18

Open
sameshl opened this issue Jul 13, 2020 · 5 comments
Open

Validate long urls before shortening #18

sameshl opened this issue Jul 13, 2020 · 5 comments

Comments

@sameshl
Copy link
Collaborator

sameshl commented Jul 13, 2020

If a user tries to shorten a URL to a website which may be along the lines of scam/phishing, etc using ShortMe, Google blocks our website(bp-gc.in) for phishing.

We need to check for any kind such behaviour for any website before we shorten it.

We need to explore any APIs which might add these flagging feature for us.

@Aviral09
Copy link
Member

https://developers.google.com/safe-browsing/v4
This article documents some Safe browsing APIs offered by google. Our purpose can be solved by Lookup API.

@sameshl
Copy link
Collaborator Author

sameshl commented Aug 1, 2020

https://developers.google.com/safe-browsing/v4
This article documents some Safe browsing APIs offered by google. Our purpose can be solved by Lookup API.

Yes, this looks right. You can start with this issue if you like

@Aviral09
Copy link
Member

Aviral09 commented Aug 1, 2020

To work on this further I would need api key generated through the official google developer account for this project.

@sameshl
Copy link
Collaborator Author

sameshl commented Aug 1, 2020

Hmm, okay.

Is it possible for you to test locally with your own google account and write the relevant code?

In the end, we could just change the api key.

I don't see any hard dependency on the linked google developer account for this project for this to work locally for you.

@Aviral09
Copy link
Member

Aviral09 commented Aug 1, 2020

Yeah that can be done. I'll try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants