php_wanna_be Posted April 21, 2008 Share Posted April 21, 2008 I'm building a site and I only want a couple of sites to see my page. I don't want a login script, I just want to check if the referrer is www.abc.com or www.123.com and only let them access the page otherwise I would post a 'you are not authorized to see this page.' Does anyone know how to do this? Thanks a bunch Let me know PhP Wanna Be Quote Link to comment Share on other sites More sharing options...
DarkWater Posted April 21, 2008 Share Posted April 21, 2008 You can spoof the referrer in less than 15 seconds. You might want to not use the referrer. Do you only want to let certain PEOPLE see the site? You can use a .htaccess file then. Quote Link to comment Share on other sites More sharing options...
DeanWhitehouse Posted April 21, 2008 Share Posted April 21, 2008 could you use .htaccess to give people access to a page when they have brought something in an online shop, and check whether they came from the shop and if they brought this item??? SORRY TO INTERUPT YOUR THREAD Quote Link to comment Share on other sites More sharing options...
DarkWater Posted April 21, 2008 Share Posted April 21, 2008 could you use .htaccess to give people access to a page when they have brought something in an online shop, and check whether they came from the shop and if they brought this item??? SORRY TO INTERUPT YOUR THREAD You'd probably use sessions to make sure they bought something in that case, if it's on your domain. Two different scenarios, dude. I can ALMOST guarantee he's not building an e-commerce site. Quote Link to comment Share on other sites More sharing options...
php_wanna_be Posted April 21, 2008 Author Share Posted April 21, 2008 Nope, not building an ecom site and don't have access to the .htaccess. The site is hosted at GoDaddy and it's just a doc that I don't want to share unless we've granted that domain access to it. Make sense? Quote Link to comment Share on other sites More sharing options...
DarkWater Posted April 21, 2008 Share Posted April 21, 2008 How can you ensure that the person is actually coming from that site though? Quote Link to comment Share on other sites More sharing options...
php_wanna_be Posted April 21, 2008 Author Share Posted April 21, 2008 I can't, basically I want to drop an Iframe on their site with my content but i don't want others to copy that iframe and drop it on another site that i don't know about. Quote Link to comment Share on other sites More sharing options...
dptr1988 Posted April 21, 2008 Share Posted April 21, 2008 Don't worry, it is impossible to 'copy protect' a document once it has been displayed on the internet. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted April 21, 2008 Share Posted April 21, 2008 Yeah, you can't protect it like that. Don't put it on the internet if it's that sensitive. It's like posting pics of underage drinking on MySpace and then being shocked when a college applications office finds it and turns you down. >_> Happened to one of my friends, lol. Quote Link to comment Share on other sites More sharing options...
dptr1988 Posted April 21, 2008 Share Posted April 21, 2008 If you are seriously intereseted in distributing you content on the web, while still try to control, there are some expensive, complex, and slightly successfull methods that can discourage people from copying your content. If you wanted to write the code to do that, it would probably be out of your skill level unless you spent a couple weeks researching it. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted April 21, 2008 Share Posted April 21, 2008 If you are seriously intereseted in distributing you content on the web, while still try to control, there are some expensive, complex, and slightly successfull methods that can discourage people from copying your content. If you wanted to write the code to do that, it would probably be out of your skill level unless you spent a couple weeks researching it. Mhmm. What exactly are you putting on the other site that you don't want others to see, by the way? Quote Link to comment Share on other sites More sharing options...
php_wanna_be Posted April 22, 2008 Author Share Posted April 22, 2008 I'm not trying anything fancy, and not trying to be fort knox, just want to make it so that someone can't see an SWF i'm making unless they come from one of my referring domains, otherwise i put up a 'go here first' link. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.