Client-Side Crawling and Uploading to the Server with Chrome Extension

Viewed 17

I have a website that archives articles of a certain community, and since it's hard to bypass bot detection with server-side crawling, I use client-side crawling with extension to upload the result to my server. However, it's dangerous because anyone can modify the result and upload it since it's running on the client side. How to prevent this?

1 Answers

you could implement an auth layer between your server and client.

With Chrome extension's identity API, you can easily integrate auth2.0 client. Like login with Google, Facebook or even Apple.

Then maintain a user management component on your server side, only verified user, like yourself, can modify data on it.

Related