Welcome Guest, Not a member yet? Register   Sign In
url security
#1

[eluser]ibnclaudius[/eluser]
For example, I have an anchor for this link:

http://localhost/meuboletim/index.php/fo.../2/Escola2

How can I avoid the user from typing this url directly in the browser?
#2

[eluser]Aken[/eluser]
You can't. But you can run checks to make sure that it's being used in the correct way. For instance, check to see if something has been POSTed to the URL. Or, check that it's an Ajax request and not a direct browser request.




Theme © iAndrew 2016 - Forum software by © MyBB