Welcome Guest, Not a member yet? Register   Sign In
Load view from url, dangerous ?
#3

[eluser]Référencement Google[/eluser]
That is a good point that you are saying here. I have to think now how I should do to manage hundred of pages and still be sure of the security. Maybe should I add a constant at top of the allowed to look views and check that constant value in the controller. Another possibility I can see here is adding into a config array the list of allowed pages name, then check it with a conditional if in_array(). Any better solution?


Messages In This Thread
Load view from url, dangerous ? - by El Forum - 12-19-2009, 11:11 AM
Load view from url, dangerous ? - by El Forum - 12-19-2009, 12:13 PM
Load view from url, dangerous ? - by El Forum - 12-19-2009, 12:21 PM
Load view from url, dangerous ? - by El Forum - 12-19-2009, 01:41 PM
Load view from url, dangerous ? - by El Forum - 12-19-2009, 01:57 PM
Load view from url, dangerous ? - by El Forum - 12-20-2009, 10:35 PM
Load view from url, dangerous ? - by El Forum - 12-21-2009, 03:33 AM
Load view from url, dangerous ? - by El Forum - 12-21-2009, 03:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB