Solved

Non- sweepable CSS?

Posted on 2012-04-11
12
237 Views
Last Modified: 2012-06-27
I'm not even sure how to title this question. What I'd like to do is have an image over and over again on a page, and then use CSS to place a coupon code on the image.

So far so good, I can do that. But the boss is afraid that hackers will come along, scrape the site and steal all the coupon codes. Is there anything I can do to avoid that, other than making them all images?

I hope you understand what I mean, I'm creating a coupon site with the coupons just for his company. Here's an example page:
magickitchencoupons.com/percent-off.html

Doing it this way means I can make changes to the codes easily. If I have to make them all images, then I need to create a new image for each coupon code in perpetuity.  Thanks in advance!
0
Comment
Question by:mel200
  • 6
  • 4
  • 2
12 Comments
 
LVL 30

Assisted Solution

by:LZ1
LZ1 earned 334 total points
ID: 37837272
Your going about it the completely wrong way.  First, the coupon codes should be kept in a database and then somehow delivered securely(via email generally).  

What is your general skill set as it relates to development?
0
 
LVL 16

Assisted Solution

by:s8web
s8web earned 166 total points
ID: 37837287
I can't think of a way to pull that off with just css and html. You are probably going to need to lean on some server side technology. Nothing is 100% though. If it can be displayed, it can be taken. It's just a matter of making it annoying enough to deter automated attempts while not so annoying as to deter visitors. The first thing that comes to mind is some kind of captcha application to weed out bots. Then look at your audience. If you're not targeting geographic regions that are notorious hotbeds for originating malicious activity, restrict access. What server side language are you using?
0
 

Author Comment

by:mel200
ID: 37837641
Hi- I can't get to this for a few hours but I wanted to be sure you knew I appreciate your help!!
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37837649
That's what were here for.
0
 

Author Comment

by:mel200
ID: 37839618
Hi, I'm on this now. I used to be pretty good with Coldfusion, but the site this is on doesn't have that, it uses Perl. So I'm pretty much hooped for server-side knowledge.

I know coupon sites like retailmenot use flash, it looks like.
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37840614
You could do Flash, but hopefully no one is visiting your site from an iOS device.  

In all honesty, your best bet would be to try to use a server-side language to your advantage.  But realistically, what would a "hacker" do with all those coupon codes?  Their only good on your site, so what else could happen?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:mel200
ID: 37840665
Right, I'm not sure of my client's fears. He says, 'the coupon scrapers will go after these and put them all over their own sites and discount our brand.  Can you figure a way to verify the user as real?" and then he says, "Use Simple SP." And that made me come to you.

Thanks for your responses, I'll mark this as solved because I can't use server-side, but that's the way I guess I have to go.
0
 

Author Comment

by:mel200
ID: 37840667
Actually, he said Simple Septia, but I couldn't find that on a google search except as a reference to color. Is there something called simple SP that could help??
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 334 total points
ID: 37840675
In my opinion, I think your client's fears are unrealistic. There are millions of coupon codes floating around the internet. No offense to either of you, but I don't think the site is as large as say Dell or Amazon or Godaddy whom are all infamous for coupon usage.

I've never heard of "simple septia". Sepia is a style or filter that can be applied to a photo or image.  It sounds like your client is relatively uneducated in internet technologies.  I guess I just don't understand what his real fear is. If someone "steals" a coupon code, what could they possibly do with it besides purchase something at a discount?  

I do wish you the best of luck with this project.  I'm sure we'll see you back here again soon.  We'll be here if you need us.
0
 

Author Closing Comment

by:mel200
ID: 37840815
Thanks so much for the advice.
0
 
LVL 16

Expert Comment

by:s8web
ID: 37841856
Another possible angle, if you change your coupon codes frequently, it will make the coupons harvested and distributed by third parties useless.

However, as LZ hinted at, these third party sites might work out for you. Most people don't care where they buy. They're more interested in the best price. If somebody is looking for a deal on a widget at store a, and they find a coupon elsewhere for the same widget at store b, they're probably going to head on over to store b and award them the sale. In this scenario, you didn't have them in the first place, but you do now. Then if they're dazzled by your awesome service you might have them in future too.

Just a thought.
0
 

Author Comment

by:mel200
ID: 37842148
Great point!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
css help with menu spacing 10 30
What .NET URL re-routing tool did I use? 2 31
Centering Vertically 3 26
Change text to radio button and calendar form 2 32
This article discusses four methods for overlaying images in a container on a web page
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

943 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

9 Experts available now in Live!

Get 1:1 Help Now