Solved

How can I set a web page to be opened ONLY ONCE on a computer?

Posted on 2006-10-20
8
243 Views
Last Modified: 2010-04-26
I want to e-mail a brochure and include a link so someone can log in to a web page and print a coupon out. BUT - I am trying to figure a way to keep them from
1. Saving the page to their computer...that's possible, I know.
2. Keep them from logging in to the page again.

Ideas?
0
Comment
Question by:jimmysupport
8 Comments
 
LVL 54

Expert Comment

by:b0lsc0tt
Comment Utility
jimmysupport,

Will the link or login be unique?  If so then you just keep track of those used and don't let it be used again.  This will require server side script and probably some type of database.  At least a database would  be best but you could use some file.  Let me know if you need more details but I will need to know what server side language your server supports or you want to use (e.g. ASP, PHP, Perl).

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
LVL 9

Expert Comment

by:FixingStuff
Comment Utility
As b0lsc0tt said, this can only be done with server side scripting on the web server. The web server would drop a cookie on the client machine, then always check for the cookie upon future visits and deny access.
FS-
0
 

Author Comment

by:jimmysupport
Comment Utility
But if it depended on a cookie, the person could erase the cookie and log in again. I am thinking if I required a name and e-mail address I could use a database as he mentioned.
0
 
LVL 9

Expert Comment

by:FixingStuff
Comment Utility
Yes, the database solution is a good one, but more involved architecture and not really any more reliable. What keeps one from using multiple names and email addrs to get another coupon. In reality, if someone wants to cheat the system, they can figure out how unless you require biometrics or the like :)
It's all a matter of preference and what you feel would work best for your user base.
The other much more complicated solution is to require pre-registration, then generate coupons with a unique barcode, have the POS system record used barcoded coupons and reject duplicates. The company I manage actually has this system in place.
FS-
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 70

Accepted Solution

by:
garycase earned 500 total points
Comment Utility
"... How can I set a web page to be opened ONLY ONCE on a computer? " ==>  You can't.  At least not reliably (as you noted, cookies won't work for this, since they're easily bypassed).

"... I am trying to figure a way to keep them from:"

  "... 1. Saving the page to their computer...that's possible, I know." => but again, easy to bypass;

  "... 2. Keep them from logging in to the page again. " ==>  This is, as noted above, the easy way to do what you want, by using a simple database and requiring a name/e-mail login.

HOWEVER ... if your goal is to keep them from printing out more than one coupon, that simply isn't achievable.   Too many ways to bypass it;  and even if you did, how could you differentiate between an "original" and a copy ??

If you provide more details about exactly what you're trying to achieve, there may be a way :-)
0
 
LVL 54

Expert Comment

by:b0lsc0tt
Comment Utility
When I made my comment I assumed that the email or link would be unique.  You provided them login information and then my solution would allow you to make sure it was only used once.  If you can't provide a unique login to them then it would be much more difficult, if not impossible, to prevent abuse.  If the printed coupon was customized in some way, maybe the login info, then even if more than one was printed only one could be used.

I hope this clarifies my comment.  We made need more details, like Gary asked for, if this doesn't help or won't work.
0
 
LVL 8

Expert Comment

by:x86fix
Comment Utility
You can't keep someone from saving it as it could easily be printed to a PDF Printer or I could do the old fashioned Print Screen.  
0
 
LVL 9

Expert Comment

by:FixingStuff
Comment Utility
No matter how you attempt to solve the coupon abuse issue, the real focus should be at the point of redemption. Assuming the point of redemption is a POS system, it requires a very smart POS system to detect duplicate coupon use.

We had a couple of coupon users/abusers that would screenshot the coupon page, save as PDF and publish on news groups.  We built a system that would detect them at database update time and flag them... never to receive future coupons.
FS-
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

16 Experts available now in Live!

Get 1:1 Help Now