I'm developing a LMS solution with php/apache which takes SCORM files and outputs the courses for users to undertake in the format http://www.example.com/courses/course1/index.html
The LMS itself will be accessible by anyone and as the course content is static html I dont seem to have many options in regards to authentication.
I originally thought that creating some htaccess/htpasswd files in the folder would be ok, but I can't see a way of authenticating the user in php so they're not shown a password prompt each time they want to view the course - they would of already authenticated in my app previously.
Does anyone know of the best method to secure static content so that authorised (by my php app) users can view the content fine, but everyone else sees nothing?