Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

Any ideas? Web development issue

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
Colliwobble
Asked:
Colliwobble
1 Solution
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now