Jump to content

Only let certain sites see my page


php_wanna_be

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.