posted 16 years ago
Hi,
I have figured solution after much hit and trial.Basically I only want users from website let's say abc.com can come to my site and rest all get accessdenied error.Also I want to prevent users from copying and pasting urls to browser directly and come to my site.
I am just posting this solution here so if someone need it, may use it.
On the parent web site I have generated a cookie and appended it with url.Lets say
This way user will never know what the exact url is.Then at my end,I am checking the contents of cookie and redirecting to the page which display details(make it a post request from now on).Also I am using session variables and erasing the variable as soon as mywebsite page is displayed.This restrict users from copying url to the browser and coming to my website directly.
Its not a sure shot way but atleast provide some level of security.
Any suggestions welcome.
Thanks for the replies.