NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Authentication-based debugging


Joined: 15 Jan 2004
Posts: 7
Reply with quote
I am evaluating PHPEd. I like the product and would like to purchase it, but there is a security issue that I need to resolve.

I need to be able to debug PHP scripts running on an Apache server from a client with a dynamically assigned IP. For this reason, the debugger.hosts_allow and debugger.hosts_deny directives in php.ini will not work for me, because I do not have a static IP.

Does PHPEd support an authentication-based -- rather than ip-based -- security scheme? Is there a secure way for me to debug if I don't have a static IP address?
View user's profileFind all posts by probertsSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7857
Reply with quote
you may work using ssh tunnel. It's secure.

In this case you run ssh -R with appropriate ports and host names,
and activate debug session using browser with appropriate GET argument in the URL, for example
http://myserver/mydir/myscript.php?myvar=myvalue&DBGSESSID=1@localhost:7869

localhost should be used because debugger module should connect to sshd on your server which is already connected from your client ssh.
hosts_allow should be localhost, of course.

In phped version 3.3 you'll be able to set up debuggerhost in the settings and therefore will be able to run debugger and profiler sessions from inside the IDE.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Authentication-based debugging
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic