Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Any ideas? Web development issue

Posted on 2014-01-13
1
Medium Priority
?
363 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39778285
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a previous article here at Experts Exchange (http://www.experts-exchange.com/articles/18414/Create-a-PDF-file-with-Contact-Sheets-montage-of-thumbnails-for-all-JPG-files-in-a-folder-and-each-of-its-subfolders-using-an-automated-batch-method.html)…
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…
Microsoft Office Picture Manager is not included in Office 2013. This comes as quite a surprise to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This video expla…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

719 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