php scripts protection vs mod-rewrite

Discussion in 'Setting-up protection' started by juniorm, Jan 5, 2014.

  1. juniorm

    juniorm Member

    Joined:
    Nov 13, 2005
    Messages:
    47
    Hello,

    I have been a customer for many years using version 3.

    My websites have been php based and I've been using php_include checking in all php files to see if persons have access to my php pages (which works fine in version 3)

    In version 4, is I want to do the same sort of thing, but want to know if it is faster/better (and if so, by much) to use a different method such as 'new-rewrite' to protect the php files with my content rather than doing a check in the php files
    using: /amember/library/Am/Lite.php etc.?

    eg. what are the pros and cons of these different methods?


    Many thanks if anyone can shed light on this!

Share This Page