You could try such an approach: https://gist.github.com/3524676
On Thursday, August 30, 2012 2:10:47 AM UTC-5, AndDM wrote: > > Hi, i'm working on an Express application that has to type of static > content (image, css, js ecc): private and public. > For public there're not problems, but for private i'm looking for a > solutions, these file must be read only by authenticated user. For now i'm > trying to get all from filesystem with fs library, but i'm looking for > simply solutions. > > Have you some suggestions to solve this problem? > > Thanks for your time. > Best regards. > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
