I have a CakePHP website that's been working great.
I just developed a new functionality that at one point auto-logs the user in, and redirects him to a page that's behind the login wall.
This works perfectly well in my dev machine, but in production, the user gets redirected to the login page.
Relevant code: (not much)
$objCusto...
Hi I'm trying to achieve something like this:
.htaccess:
AuthType Basic
AuthName "My secure page"
AuthUserFile .passwords
Require valid-user
<Location "index.php?id=62">
Allow from all
Satisfy any
</Location>
So the entire application should be "secured" using http basic auth, except one specific request. Is there any smart way to r...
Hi there,
I have used Auth component in my cakephp site. I want to check whether auth session is there or not from controller.
Please help.
...
I have an issue with cake's auth that I simply can't seem to get past (i've been debugging and trying different tutorials for the last two days). As far as I can see it should be very simple, the problem is whenever i try to login, it just refreshes the login page. I cannot for the life of me figure out why! My only conclusion is that th...
I am using the ION Auth library for Codeigniter. For security purposes, should I change the default URL/Controller from "/auth" to something that's unknown and more difficult to guess?
...
Has anyone used DX Auth for Codeigniter bundeled examples?
After following Installing DX Auth library with bundled examples on http://dexcell.shinsengumiteam.com/dx_auth/installation/index.html
I added a route $route['auth'] = "auth"; in config/routes.php, uploaded /controllers/auth.php, added $autoload['libraries'] = array('database'...