[symfony-users] Re: disable project but allow access based on IP address

2009-03-25 Thread Joao Correia
Just put a .htaccess and give all your testers a user/pass. IPs change all the time and your testers might want to access it from diferent places. On Mar 20, 9:32 am, CiPheR wrote: > Is there a way to "disable project" but allow only specific IPs to use > the site? This is very useful for perfor

[symfony-users] Re: disable project but allow access based on IP address

2009-03-20 Thread Alan Bem
Yep, it could be :) On Fri, Mar 20, 2009 at 2:05 PM, Sid Bachtiar wrote: > > Could be made a plugin ;-) > > On Sat, Mar 21, 2009 at 2:02 AM, Alan Bem wrote: > > I u want to do that highly congiurable (create module maybe with IP > table?) > > I would use execution filter - create your own or mod

[symfony-users] Re: disable project but allow access based on IP address

2009-03-20 Thread Sid Bachtiar
Could be made a plugin ;-) On Sat, Mar 21, 2009 at 2:02 AM, Alan Bem wrote: > I u want to do that highly congiurable (create module maybe with IP table?) > I would use execution filter - create your own or modify existing security > filtter. > > Cheers, Alan > > On Fri, Mar 20, 2009 at 12:40 PM,

[symfony-users] Re: disable project but allow access based on IP address

2009-03-20 Thread Alan Bem
I u want to do that highly congiurable (create module maybe with IP table?) I would use execution filter - create your own or modify existing security filtter. Cheers, Alan On Fri, Mar 20, 2009 at 12:40 PM, CiPheR wrote: > > Thanks for the suggestions. IP tables or firewall is not really > appr

[symfony-users] Re: disable project but allow access based on IP address

2009-03-20 Thread CiPheR
Thanks for the suggestions. IP tables or firewall is not really appropriate since I still want users to see the "unavailable" page, not completely block them. .htaccess is the easiest for one off manipulation, though it would be nice to have the feature self-contained in the framework and not hav

[symfony-users] Re: disable project but allow access based on IP address

2009-03-20 Thread Lee Bolding
Why not take a look at the IP exclusion clause in the dev controller and modify this accordingly? Make a backup of your existing index.php, then copy the dev controller to index.php and add your exclusions. Or, as Sid said - use .htaccess Or iptables. Or a firewall. Many ways to skin this

[symfony-users] Re: disable project but allow access based on IP address

2009-03-20 Thread Sid Bachtiar
Why not just use .htaccess to limit access to the website? On Fri, Mar 20, 2009 at 10:32 PM, CiPheR wrote: > > Is there a way to "disable project" but allow only specific IPs to use > the site? This is very useful for performing post-install validation > so that testers can validate the new rele