Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
BCM
User Panel

Posted: 10/13/2005 10:01:38 AM EDT


We have a website on the internet where we want to store brochures as PDF files. We will then put click-able links in emails to our customers. What this does is puts the bandwidth load on our hosted server and not on our office Internet connection or Exchange server.

Here is my question.

How do I make the files brows able to an HTTP session? I have been to sites that show the directory structure and lists the files in the directory through an Internet Browser. This way the sales guys and gals could browse to the site to confirm it is there, or the right brochure, or whatever. This would need to be dynamic so that when we (the IT department) FTP a new brochure to the site it would automatically show the new file when you browse to the site.

Is this an ASP or a script in the default.html file or what? How can we accomplish this?

Thanks,
Bob
Link Posted: 10/13/2005 11:22:24 AM EDT
[#1]
Allow the directory the pdfs are stored in to be viewable, then config the webserver so that there is no page or default page for the url. this will make the webserver return a directory listing.
Link Posted: 10/13/2005 4:06:51 PM EDT
[#2]
Thanks for the suggestion. I ended up having to modify my .htaccess file.

Bob
Link Posted: 10/14/2005 7:32:17 AM EDT
[#3]
Just make certain this is a directory dediciated to these files and nothing else.   You generally do not want to allow directory listings, as, depending on the directory contents, it can provide an attacker with valuable information.
Close Join Our Mail List to Stay Up To Date! Win a FREE Membership!

Sign up for the ARFCOM weekly newsletter and be entered to win a free ARFCOM membership. One new winner* is announced every week!

You will receive an email every Friday morning featuring the latest chatter from the hottest topics, breaking news surrounding legislation, as well as exclusive deals only available to ARFCOM email subscribers.


By signing up you agree to our User Agreement. *Must have a registered ARFCOM account to win.
Top Top