rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: pstar on November 08, 2009, 06:03:42 AM

Title: permission per file not per folder
Post by: pstar on November 08, 2009, 06:03:42 AM
how could i set the access permission per file?
i'd like to have special account read some files but others cant.

thx in advance!
Title: Re: permission per file not per folder
Post by: bacter on November 08, 2009, 10:03:41 AM
Yes you can :)

Simplest way:
Hang the files in your virtual file system. From hfs you can give access permissions only to files in the virtual file system, but you can't do it if they are inside a real folder.

If you are template builder:
You change the way comments are used and displayed, and you could use the filecomment to add some flag (that is never diplayed), and use this flag in the file section to decide with the 'member of' macro if the file should be added or not, if the %user% belongs to the group that is allowed to access the file.
Title: Re: permission per file not per folder
Post by: pstar on November 09, 2009, 04:46:19 AM
i'll try it, bacter.
just finished reading all the wiki info.

thx!