Git Product home page Git Product logo

Comments (2)

SpatzlHD avatar SpatzlHD commented on May 30, 2024 1

Tbh this doesn't seem like a good idea. If you are concerned about sharing your activities with the entire world why would you blast out your activities on discord in the first place... Or let's say you want to test your project locally would you set the cors header to your own IP address? Probably not. And there are also some projects like the GitHub profile readme card thing etc. And if I want to use some of those tools I don't want to add a new cors header every time. And cors only protects browser from accessing the API. If you use for example node.js you can still pull all the information by just ignoring cors header...
So if you really want to protect the data from being accessed by anyone the best option would be to just add API keys to the request that you have to add. But tbh this will probably not be added to the project as only a really small subset of the users (I know nobody expect you) have a problem with current system.

from lanyard.

wont-stream avatar wont-stream commented on May 30, 2024

This still won’t prevent backends from accessing your data.
Like @SpatzlHD mentioned if you don’t want random people to see your activity don’t allow discord to publish your activity.
Let alone using lanyard.

from lanyard.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.