Node.js 的文件限制 fs-lock

码农软件 · 软件分类 · 服务器端JavaScript · 2019-04-13 16:28:08

软件介绍

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});

本文地址:https://codercto.com/soft/d/3502.html

Essential ActionScript 3.0

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》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具