Hi all,
I am developing an application which will post links to a website. I want to ensure that visitors to that website are only allowed to click each link to get its content once. Any subsequent clicks should not deliver the content. To track which users have visited the links I am planning to keep a log of IP addresses in a database which can be searched to determine if a particular IP address has already clicked a particular link. My problem is that someone who does not have a static IP address through their ISP can potentially be given a different IP the following day, and then revisit the website and click to get the content again. Is there anything I can do to prevent this from happening? Obviously I have no control over a users IP address so does anyone know of another way to track who has accessed which content?
Tracking content access
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Tracking content access
If you must be absolutely sure that someone does not get the content more than once then I'm sorry but you'll have to loosen your requirements because it's just not possible. You can settle for "make it harder to by checking a combination of variables" or "only allow it once per email address by requiring user registration" but you can't really get any more secure/reliable beyond that.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Tracking content access
Thanks for the replies guys. Yeah it looks like I am going to have to just make it as hard as possible to abuse.