Protected Documents (PDFs, Words, Excel etc) Under WordPress
I need someone to develop a solution (a sample post) which will allow a wordpress admin to create a wordpress post with restricted access, not only the post but also links in the post, this post shows a set of documents' titles (PDF, excel, MSWord etc), and provide a view and download links for each document.
If a no authenticated user try to open this titles page, he/she will be asked to login, after a correct login is done, the system will bring him/her back to titles list page.
If a user know the direct download or view link contained in the titles page of any of these protected documents, system must also ask him/her to login first.
When authenticated user click the view link of a specific document, the document will be shown on the screen and when the authenticated user click download link, the web page will prompt the authenticated user to download the document.
NOTE: All authenticated user will be allowed to view and download from the titles list page for this version.