Node.js 的文件限制 fs-lock
- 授权协议: BSD
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/yahoo/fs-lock
软件介绍
fs-lock 是 Node.js的文件限制,用纯 JavaScript 写成,用户可以加载其他方法获取访问。
示例代码:
//Do your startup code here, then lock it down with:
require('fs-lock')({
'file_accessdir': [ __dirname, '/tmp' ],
'open_basedir': [ '/usr/local/share/node_modules', __dirname ]
});var fs = require('fs');
fs.readFile('/etc/passwd', function(err, data) {
//this will throw an Access Denied error});
Essential ActionScript 3.0
Colin Moock / Adobe Dev Library / June 22, 2007 / $34.64
ActionScript 3.0 is a huge upgrade to Flash's programming language. The enhancements to ActionScript's performance, feature set, ease of use, cleanliness, and sophistication are considerable. Essentia......一起来看看 《Essential ActionScript 3.0》 这本书的介绍吧!
