I am using directory listing with http://adamwhitcroft.com/apaxy/ theme. Which is obviously not part of WordPress. I am looking for a way to allow only registered subscribers to access + download content from those directories.
I have looked into
<?php auth_redirect(); ?> but it seems like it only works if the page/post is already part of WordPress ecosystem.
Is there any way to solve this problem?