Part of my site is PHP based the other part is HTML. I want to certain parts of the site to only be available to users with valid passwords.
The current solution uses a .htaccess file, where the user has to enter valid username and password to gain access. This is fine but pretty basic, the user must know the url in the first place. I would like one entry point redirecting specific users to the particular part of the site they have access to. I thought about session management and again this would work fine if all sub sites were PHP based, but this not the case as some site will be HTML. Is there another solution or an easy workaround? Andrew