List Info

Thread: : Business Exceptions Data Returned to Client




: Business Exceptions Data Returned to Client
user name
2007-05-23 10:45:26
Edit report at 
http://pecl.php.net/bugs/bug.php?id=10994&edit=1

 ID:               10994
 Updated by:       mfpphp.net
 Reported By:      michael dot caplan at henryschein dot
com
 Status:           Open
 Id:               10994
 Type:             Feature/Change Request
 Package:          SCA_SDO
 Operating System: CentOS 4
 PHP Version:      5.2.1
 New Comment:

>From the comments on the phpsoa thread, it looks as if
the consensus is
clearly to suppress the files and backtrace, as you suggest.
Good
suggestion.


Previous Comments:
------------------------------------------------------------
------------

[2007-05-15 13:09:27] mfp at php dot net

You make a good point. I started a discussion thread on
phpsoa. Let's
see what ideas, if any, other people have.

------------------------------------------------------------
------------

[2007-05-09 10:51:52] michael dot caplan at henryschein dot
com

Description:
------------
Reading through the docs, I understand that it is by design
that
business exceptions are relayed to the end user wholesale
(IE: including
backtrace, file, line, etc), and wrapped up in the binding
native error
structure.  For my purpose, I would like to relay exceptions
to the end
user, but I would like to suppress everything with the
exception of the
exception description and number.  Exposing files and
backtraces in
exceptions to the end user I think is too much info to
expose (for
security reasons, and simplicity).  



I don't see the value in having all this exposed to the end
user, but I
am sure there is a good reason.  Perhaps a setting could be
put into
place that would suppress all exception details except the
message and
code?

------------------------------------------------------------
------------


-- 
Edit this bug report at 
http://pecl.php.net/bugs/bug.php?id=10994&edit=1


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "phpsoa" group.
To post to this group, send email to phpsoagooglegroups.com
To unsubscribe from this group, send email to
phpsoa-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )