Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Any ideas? Web development issue

Posted on 2014-01-13
1
Medium Priority
?
376 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 54

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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

927 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