View Single Post
Old 06-05-2008, 06:08 AM  
Yil
Too much time...
 
Join Date: May 2005
Posts: 1,194
Default

I'm pretty sure that the .vfs file is just treated as plain text. Thus you can't use cookies in it...

However you can duplicate the .vfs file, change the /PRIVATE path to the name of the group directory and set it as the GROUP's default .vfs file so anyone without an explicit .vfs setting in their userfile will use their primary group's setting. You could alternatively site change everyone in a group to use a particular .vfs file but that wouldn't affect newly created users in that group which is why the group default option exists. Just make sure to add admin.vfs or something to siteops if you intent to make siteops a member of those groups. That's beneficial anyway because you probably want to expose all the different private group dirs to them...

On the other hand I might have to explore the option of an "include" directive so a private group .vfs file wouldn't have to duplicate all the other settings... But processing cookies in the .vfs file is probably a non-starter because using them to resolve paths would require getting the cookies correct and that would be tricky.
Yil is offline   Reply With Quote