Jump to content

how could upload files only download available for authenticated users ?


adrianmak
 Share

Recommended Posts

I'm going to develop a simple document managment website.

Registered users are allowed to upload and download on their own files.

How could I protected those files indexed from search engine.

Files download should be available for authenticated logon user.

Other ppl, (even you copied the file's download url) could not able to download the files from the link (shared) directly, and it will redirect to a user login form.

pw 2.6.x has been released a while, any such a feature for private and public file ?

Link to comment
Share on other sites

Search engines are quite dump machines, if they cannot find a link to one of the files, they won't index them. As those bots are naturally unauthenticated, they should only see the login page. If you want to access control not only the page, where the link will be shown, but also the direct link to the files, then $config->pagefileSecure is the keyword. 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...