iFrame / folder access

2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 21, 2011   (RSS)

By rez - September 20, 2011

I have a folder that contains a .csv file that I would like my client to have access to in CMSB administration. I would like to simply put the file on a page for download and make it a text link / iframe in the new version of CMSB. The problem is access to the folder. The script that is generating this file is also in this folder and has an .htaccess file like this:
<Files *>
Order allow,deny
Deny from all
</Files>
<Files ~ ".*\.zip">
Order deny,allow
</Files>


So how do I detect admin login and give access to this file to put in an iframe? So the client logs into cmsb and can navigate to that section and download the file. I get putting the file on the page, how to make it show in the iframe. It's the access / login I dont know how to handle, especially already being in this restricted folder.