Thursday 19 January 2017

why 'Authorization' header is special ?

  Authorization headers are recognized and specially treated by HTTP
   proxies and servers.  Thus, the usage of such headers for sending
   access tokens to resource servers reduces the likelihood of leakage
   or unintended storage of authenticated requests in general, and
   especially Authorization headers.

https://tools.ietf.org/html/rfc6819#section-5.4.1

Wednesday 18 January 2017

robocopy delete - too long filename (windows)

Save these steps in batch (anyname.bat) file and run it OR run these steps individually.

mkdir D:\empty_dir
robocopy D:\empty_dir D:\dir_to_be_deleted  /s /mir
rmdir D:\empty_dir
rmdir D:\dir_to_be_deleted

Wednesday 11 January 2017

What is SOFEA ?

SOFEA is an abbreviation for Service Oriented Front End Applications/Architecture, it refers to a web application architecture where all of the UI functionality is provided by javascript or flash-based logic. It doesn't interact with the web server per se to provide application level access to data, but rather interacts with web services through AJAX. Essentially, you provide all of the UI logic in a single (or few) web pages. These pages work with web services to access and update data.