I am looking at user/subscription management software such as aMember Pro. This uses folder protection methods to prevent access to areas of the site. As such the PHP scripts require Apache (linux/unix).
My webserver is IIS windows 2003 and I use a MySQL database to store user id and subscription status / access privileges. We really only have 2 types, free / paid. When a user logs in I store their user id in a session cookie and use this to check subscription status on each page and determine what they can view on this page (there are only a few pages and they are all in the same folder on the webserver).
What are the pros/cons of each method? Is my cookie & database method suitable and secure enough? I don't want to have to switch to linux if I don't need to and all other aspects of the aMember software work ok on windows.
Is folder protection only really required if a site is not using a database to store user id. We had the access rights thing all done prior to bolting on the subscription management software so my hunch is that we don't need to use folder protection, but I am keen to get others opinions.
thanks