Git Product home page Git Product logo

Comments (1)

Finb avatar Finb commented on July 18, 2024 4

是没有鉴权限制的

单纯的知道服务器地址和端口,并不能知道这是一个Bark后端服务。
你不宣传一下,估计不会有人用你的服务。

需要鉴权的话,有一些变通方案。

比如可以用类似nginx allow ip 那种方式,只允许你指定的IP访问服务。

或者,利用nginx 重写URL ,在 url 前面加一些类似key的密码,
例如

https://api.day.app/你定义的password/{barkkey}/{body}

这样,别人猜不到你服务的URL是多少, 不知道 URL 自然就用不了你的服务

from bark.

Related Issues (20)

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.