Forums / Setup & design / Restric access to certain folders

Restric access to certain folders

Author Message

Ted Striker

Thursday 01 April 2004 3:55:06 am

Hello there,

I'm developing a news site which will have both sections (with folders assigned) and subsections within them (with their own subfolders assigned). Up to this, everything goes just fine, I can represent with a loop a menu with the section and subsection structure.

Problem is that some of this folders should have a lock symbol to represent that the content inside is for registered users and others could be free accessed. Then, and when clicked, the conent inside every folder will show depending on the permissions of the user.

Is there anyway to assing a category or attribute to a folder to classify it as viewable or restricted and retrieve that info will looping all existing folders/subfolders?

Thanks!!!!!!!

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.