Check access in io.js