Your question is not clear. what i understand that seems u want to restrict user to modified url. you can user URL Referrer check on page load
if Request.UrlReferrer.AbsoluteUri == null
{
Response.redirect(“home page”)
}
If someone tried to modify url it will alway return null and you can redirect to home page or some other page to restrict the user.
1
solved How to solve this issue in a URL? [closed]