How to restrict publick to download documents.

Category: Joomla 25

Aasit
Asked:
2013-02-16 7:02 am EST

Hits: 402
I am uploading some .pdf and .doc/docx file to database. I want restrict that only registered user can download this document.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

jamesr
Staff
5,889 Points
2013-02-18 10:18 am EST
Thank you for your question Aasit!

It depends on the program you are using. If you are coding the site your self you would have to write PHP script that stores a login session on the server allowing access to the specific area. If you are using a program like WordPress, Joomla, or another CMS, you will want to use a plugin if available.

Coding
http://stackoverflow.com/questions/5524881/restricting-access-to-php-scripts-for-limited-access-users

WordPress
http://wordpress.org/extend/plugins/restrict-content/

Joomla
http://extensions.joomla.org/extensions/access-a-security/site-access/content-restriction

Best Regards,
James R

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!