Comments (3)
谢谢提醒,放出源码是交流学习。这个其实不是不安全,是你看到了我的源码。如果你看不到源码,你应该是猜不到管理员的账号的。你在服务器脚本还能看到我的服务器root账号,这些会暴露在源码里/是没法避免的。所以源码不能泄漏。
from myblog.
你要把数据库链接到你的数据库,然后 你可以使用你自己喜欢的加密方式,源码不泄漏,安全问题应该是有保障的。
我都写了比较详细的教程~
var db = require('mongoskin').db('mongodb://xu:1314loveWMM@localhost:27017/blog?authSource=admin');
from myblog.
po主厉害 共勉 哈哈~~
from myblog.
Related Issues (4)
- fork了一份~ HOT 1
- 微一案笔试题分享
- 挖财 / 有赞电话面试 面试分享
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 myblog.