Jump to content

How can I block user to access other page in my HTML


victordeassis

Recommended Posts

you want to block someone manually adding #pagetwo to the address bar and not clicking the link?

 

If so, i don't understand why that an issue, it's not like manually adding #pagetwo is doing any damage, however, maybe am missing something.

 

I would think anything that is done to prevent #pagetwo being added to the address bar , could also effect the link working.

Link to comment
Share on other sites

I have an issue with my webpages, from the homepage I can go to the page two without clicking on the link, just adding a #pagetwo on the address bar, have someone solved this using javascript or something like that?

 

That is normal and desirable behavior. Why do you want or need abnormal behavior?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...