Hi,
I would like to create a page in my site which will serve as a small document library. These documents require some password protection, and a single user/password will suffice. So for this I was thinking to use an htaccess security. There are other documents on the site which need to be available to non logged in users. So what I want to do is to be able to place file uploads on the Document Library page to a different upload folder (which will then have the htaccess password).
I see that this is controlled by the config statement: define( 'K_UPLOAD_DIR', 'myuploads' );
Is there a way to set this on my page (rather than sitewide in the congfig file)?
Other suggestions welcome if this is not possible! The document library page & the files all need password protection.
Thank you
I would like to create a page in my site which will serve as a small document library. These documents require some password protection, and a single user/password will suffice. So for this I was thinking to use an htaccess security. There are other documents on the site which need to be available to non logged in users. So what I want to do is to be able to place file uploads on the Document Library page to a different upload folder (which will then have the htaccess password).
I see that this is controlled by the config statement: define( 'K_UPLOAD_DIR', 'myuploads' );
Is there a way to set this on my page (rather than sitewide in the congfig file)?
Other suggestions welcome if this is not possible! The document library page & the files all need password protection.
Thank you