Comments (2)
I had a look at this one, and it's not that easy to implement it given helmet is for express/connect apps, and this one seems to have a different approach.
There's an easier way of just setting few headers:
X-Frame-Options SAMEORIGIN;
X-Content-Type-Options nosniff;
X-XSS-Protection "1; mode=block";
CSP is a harder topic:
Content-Security-Policy "default-src 'self'";
Definitely not ideal, but gives some basic security easily.
from kretes.
@emilos Yes, I'd prefer we take a «good enough» approach. Often it's too easy and time consuming to try to come up with the ideal solution. In README
we should state potential shortcomings.
By the way, in Huncwot it's possible to reuse Express/Connect middlewares, but I'd prefer to integrate them directly into our core than using it as a dependency. I know it's an extreme approach, but long term it'll make things easier. ;)
from kretes.
Related Issues (20)
- UI Panel for Database Managment
- Built-in Admin similar to Django
- Unable to create project with VSC plugin 0.0.1
- Unable to start project on Ubuntu with CLI 0.71.0 HOT 3
- Kretes CLI commands passes if user types invalid command HOT 1
- Postgres config generates config that it later cannot handle on Ubuntu HOT 2
- kretes_1.database is not a function HOT 4
- Property 'returning' does not exist on type SQW HOT 3
- Background processing does not work as described in docs HOT 8
- sqltools configured, but not defined as extension HOT 1
- 'kretes new' command fails on fresh install HOT 4
- Dependency updates needed HOT 2
- test
- Change `identify` to `recognize` in auth
- [BUG] unable to create a project HOT 1
- Unable to display the FIRST page at port 5544 .
- Does Kretes have a REPL/Console?
- "Could not find a type declaration for kretes" HOT 6
- Error: exit code 1 HOT 7
- Feature test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kretes.