Giter Site home page Giter Site logo

Comments (4)

zebulon501 avatar zebulon501 commented on June 24, 2024

Which CGI are you talking about? If it's for sabnzbd+ and Co, it seems to me to be useless, as anyone can use the real URL anyway. And this one is documented in the package manager.

from spksrc.

Diaoul avatar Diaoul commented on June 24, 2024

Yes, indeed, that's why I said "Not a big issue because it is just a redirect most of the time though".

Anyway, for other CGIs, this has to be done. If you know a Python way to trigger DSM auth that could be useful. Haven't looked into it yet.

Also, I've seen that we can now make a user administrator (DSM 3.2 feature? 3.1?) which means, for admin only packages we have to take that into account not just reject a request if user != "admin" like in the old days

from spksrc.

Diaoul avatar Diaoul commented on June 24, 2024

This is a tricky issue... This kind of security should be handled by DSM itself. I'll open a ticket to Synology.

from spksrc.

Diaoul avatar Diaoul commented on June 24, 2024

Security is provided by a Python module I made: https://github.com/SynoCommunity/spksrc/blob/develop/spk/haproxy/src/app/application/auth.py

from spksrc.

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.