I am writing a development area for my clients to view their sites as I work on them. However, I'd like to restrict the directory of a given project to only users who are associated with that project. I'm looking for a way to create a "wrapper" so to speak, that wraps around all items in a project directory, and only allows users to view the directory if it is their project.
I was thinking of using frames as the wrappers. While this would prevent the directory from showing up in the address bar, it wouldn't prevent anyone else who knows the directory from accessing the project. Is there a way I can make sure no one can access the directories unless they go through my frames? Or does anyone have another suggestion?
Thanks in advance.