Giter VIP home page Giter VIP logo

Comments (6)

robconery avatar robconery commented on August 24, 2024 1

Understood. I would still suggest removing as AuthKeys, no matter what they're for, should not be hard-coded.

from tailwindtraders-backend.

eiximenis avatar eiximenis commented on August 24, 2024

Hi!
This is the authkey used by the CosmosDB emulator (on Windows).
The assumption (should be docummented) here is that if AUTHKEY is not set is because you are using CosmosDb emulator.

Need to document how to develop on local machine using CosmosDb emulator and Docker or Visual Studio, because is not a easy setup.

Thanks! :)

from tailwindtraders-backend.

eiximenis avatar eiximenis commented on August 24, 2024

You're true on this.

Just pointing that, at least, this hardcoded key is not a security issue. But it can be easily handled through .env file on Backend site.

I'll keep this issue open until this is fixed!

from tailwindtraders-backend.

robconery avatar robconery commented on August 24, 2024

It's not a security issue for you, but for the customers that look at this and say "ah - here's a pattern we can follow", it becomes a security issue for them. It's super important we follow our own guidelines no matter how good we think our practices are - users look to our code and often will copy/paste, which is fine as that's why it's there.

from tailwindtraders-backend.

eiximenis avatar eiximenis commented on August 24, 2024

Hi @robconery
I've updated the code and added documentation about how to configure containers for running locally.

I leave the issue open, close it if this is OK.

from tailwindtraders-backend.

dsanchezcr avatar dsanchezcr commented on August 24, 2024

Fixed with commit d9bbee

from tailwindtraders-backend.

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.