Hello Alex, after installing amember, I thought of a way to protect my files and directories, since am not that good in PHP, I deviced my own method of protection which I will like to confirm if it's good enough to serve it's security purpose. 1. I had embeded an index.htm file in every directory under the amember/ 2. I had used a script to enforce every protected pages in my site to take callers back to http://mysite/amember/signup.php. I deviced this method after installing amember/ on completing the paypal payment installation, I discovered that my thought to be protectedpages are not automatically protected. So it's like my web visitors could type in http://www.mywebsite.net/classroom/view.avi. and have a free service. And this is the same page and directory Payapal will refer my visitors to after payment. and since I'm not good at the PHP coding I had done this. Using javascript, from experience do you think there can still be a loophole ? Regards
Javscript protection cannot be secure, because everybody may disable Javascript support in browser. Try this instead: http://www.cgi-central.net/amemberdocs/pro...php_inc_mrw.htm