kvz / cakephp-rest-plugin

Discontinued: recent cakephp versions overlap functionality, there also is @ceeram's plugin. Painless REST server Plugin for CakePHP
http://kvz.io/blog/2010/01/13/cakephp-rest-plugin-presentation/
169 stars 37 forks source link

too open with meta fields? #6

Closed primeminister closed 13 years ago

primeminister commented 13 years ago

He Kevin,

I think you provide too much data in meta part, especially for credentials. You don't want to show too much info about your app or request to the user. They cannot figure out how your REST works.

Open discussion, so let me know

kvz commented 13 years ago

I don't think the information I disclose is sensitive (at least not to the one making the request)

For example my clients use the meta data for logging, and sorting out time & version differences with the server. Great tools to aid with keeping things consistent.

If it's a hard requirement on your end, I'm open to make it optional, but I can't strip it all out.

primeminister commented 13 years ago

I agree. But what abou the credentials? What is 'class'?