Welcome Guest, Not a member yet? Register   Sign In
Prohibit access to get_instance() from a view
#7

(11-20-2017, 03:26 PM)dave friend Wrote: Why? Are you afraid a developer is going to use it in a view?

That's the main reason for it indeed. We're working with developers we don't personally know and it's just too easy to print the database password right now. I've already solved the issue by implementing a template engine.

However, for security reasons it would be very recommendable if a new version of CI would have the option to prohibit accessing get_instance from views.
Reply


Messages In This Thread
RE: Prohibit access to get_instance() from a view - by rolf - 11-21-2017, 09:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB