mod_rewrite method can protect any type of files but not PHP applications like openrealty or invision board. Have you ordered any integration plugins? Yes, things cannot be complex if you choose simple way. The simplest way (which all my competitors choose) is htpasswd (with annoying popup login box). aMember supports it and it works without any question.