Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 25th, 2006, 04:43 AM
Authorized User
Join Date: Jan 2005
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts

Looking further into this, seems like Request.ServerVariables("HTTP_REFERER") cannot be relied upon in all circumstances...

For example: http://classicasp.aspfaq.com/general...p-referer.html

...to the extent that it's not the solution I am after. Ultimately, I'm looking for a way to make an ASP page deliver output A to the browser if accessed directly (i.e. its path is entered in the address bar of the browser) and output B to the browser if the page is embedded wihin an iframe. As I said in my first post, it is perhaps a strange request, and there may not be a suitable approach. I welcome any additional suggestions from anyone. Thanks.

Old September 26th, 2006, 12:15 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

The problem with Piracy is that there is no 100% full proof system to keep your stuff from being ripped off. (though when Sonic Foundary existed they did a particularly good job of fighting the problem: the serial # required to activate their products was completely dependant on the components contained in a users system. Their software would generate a product key based upon the PC setup and then you would have to call an 800 number to get a Serial Number that corolated to the key you provided.) I would suggest a COM component or something similiar that the user would have to install on their server, however, you would have to figure out a way for this component to stop connecting to your server if, say, the subscriber quit paying for X service. (Which this could be as easy as a username and password that would have to be sent along with a request and then disallowing that user)

Of course I could eaisly take X component and give it to my friend for them to use, give them my username and password and viola, they now have access to the service.

--Stole this from a moderator

I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
Old September 30th, 2006, 07:28 AM
Authorized User
Join Date: Jan 2005
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts

Yep - good suggestions. I agree, it's a bit of a nightmare to try to protect something 100%.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Same pages for sub domain from main domain vivek_inos ASP.NET 1.0 and 1.1 Professional 1 February 13th, 2007 10:15 AM
get cookie info from other domain using fsockopen kamara Pro PHP 2 September 8th, 2004 06:26 AM
ASP.NEt, creating new user on Windows 2000 Domain sstoutkc Classic ASP Components 2 April 29th, 2004 06:57 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.