Solved

Any ideas? Web development issue

Posted on 2014-01-13
1
332 Views
Last Modified: 2014-01-13
Quick question,

Im currently developing a basic html/css website (purely for advertising a product & being informative) with little to no complexity just 6 simple HTML pages with a mailto; form etc

Currently i have an image link within the body content on the site and at the moment it links straight to a PDF brochure (prompts for a password that i set inside the Cpanel, with the description "please call us for password etc"

Since this point we've currently released a second brochure for another product we're offering.

I want to be able to separate my visiting clients when they're trying to view our brochures

i.e client one is interested in our first product so he's inputted password directs there
i.e client two is interested/or has been pitched on a new product and he's password directs to the new additional brochure

I don't want clients seeing both brochures

I hope this makes sense, i was aiming to have the one link with two possible directions depending on the password/and or inputted information by the user.

Ive also attached a basic diagram.
Does anyone have any ideas as to how id best achieve this? as simple as possible
idea.png
0
Comment
Question by:Colliwobble
1 Comment
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
Comment Utility
What you want is no longer, "simple" yet not hard.

You should be doing this in a serverside language like php or asp as well as a database to manage passwords.   The reason it seems you want a password is for people to call you first.  If you are using a password in your control panel, what is to stop that person from giving it out and now you have people accessing that have not called you.

The other issue is if you have a pdf with a link, password or no password the file is still available. Once somebody gets the link, they can pass on the direct link to another person.

Again, getting out the serverside code, you will want to store your pdf's outside of your domain so they are not available.  

The way this should work is:
1) User enters password
2) Check the database for your contacts and their password
3) Track how many times they tried to get in
4) Once in the database determines which file they get (oh, you now need an admin interface too)
5) Something is clicked that triggers  your serverside code to deliver the document from outside of the www to a temporary link or download.

You will need an admin panel/pages to add/edit contacts and with their passwords and which document they get.  Perhaps even an easy upload script.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
This article shows how to convert a multi-page PDF file into multiple image files, with one image file created for each page of the PDF. It does this by utilizing an excellent, free software package called GraphicsMagick. The solution is amazingly s…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now