Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allow Linking only from a certain page?

Status
Not open for further replies.

clarkmurray

IS-IT--Management
Nov 9, 2002
35
US
I'm getting ready to release a training product, and I want only the customers to be able to access certain information on my website. The customer would bring up an html page from his hard drive and click on a link. This doesn't have to be super tight security and I don't want to add the administrative overhead of assigning individual logins and passwords. I just want something to keep the url from getting passed around.

I was thinking of using .htaccess referer coding even though I know that can be easily spoofed. However, I can't figure out how to add referer info to the request header that would be generated by clicking on the link from the page on the hard drive. Is there a way to do that? Or is there a better way that's not too involved? I have to keep this simple.
 
The customer would bring up an html page from his hard drive and click on a link. This doesn't have to be super tight security and I don't want to add the administrative overhead of assigning individual logins and passwords. I just want something to keep the url from getting passed around.

There is no foolproof way to keep a url from getting passed around.

If you're not utilizing some server side code (php; asp; whatever) or a passworded directory structure, there is no way to guarantee security. (If the page is out there as html, it's out there for everybody.)



Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top