Git Product home page Git Product logo

Comments (8)

PidgeyL avatar PidgeyL commented on June 12, 2024

If you turn on the login, and leave the database empty, people will not be able to log in. Only logged in users can perform changes. I don't think this should be a problem.

Debug: False
SSL: True
LoginRequired: True

from cve-search.

adulau avatar adulau commented on June 12, 2024

This works but I would like to get rid of the non-used url paths (as a security measure) to avoid exposing code that we don't need for public services. I would like to remove the option box for the black/white-list parts.

Do you mind if I add an option for the web interface:

Minimal: True

and update the code to check the option and disable the unnecessary parts when minimal is active.

Cheers

from cve-search.

PidgeyL avatar PidgeyL commented on June 12, 2024

I do not mind, but I have a feeling that having checks all over the code might become messy. Maybe make a "minimal" branch of cve-search? Or how would you do it, within the code?

from cve-search.

adulau avatar adulau commented on June 12, 2024

Indeed, I just checked and that's a lot of test-case. Maybe I'll do a minimal index.py and move some of the functions in the library.

from cve-search.

PidgeyL avatar PidgeyL commented on June 12, 2024

Just a question, why did you remove the search option in the minimal version? Also, the logo doesn't quite fit in the menu. Do I fix this?

from cve-search.

adulau avatar adulau commented on June 12, 2024

I asked 3 users, they all tried to do cpe search in the form... So until we have a full-blown cpe search in the form, I preferred to remove it in the minimal version. Until now, they can use the browse functionality.

The logo should be a bit over to have the corner outside. So it's by design ;-)
If you see something else, let me know. (I sent you a private email with a test temporary url)

from cve-search.

PidgeyL avatar PidgeyL commented on June 12, 2024

Would you also make an "api only" script? or a way to disable the web pages in the minimal?

from cve-search.

adulau avatar adulau commented on June 12, 2024

This has been implemented in the minimal-web interface. I'll create another issue for the API only interface.

from cve-search.

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.