Solved

Any ideas? Web development issue

Posted on 2014-01-13
1
356 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 500 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

635 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