Posts

Poodle – SSL Security Threat Explored

Poodle  is a breed of dog with legs that resembles cotton candies. It is intelligent and a regular staple at dog shows. Even the most friendly dogs have the propensity to bite.  Now we see all kinds of security alerts and snafus likes heartbleed and shell shock!!! The latest in addition is POODLE. All of this started when a team in Google developed and tested an attack named POODLE  (Padding Oracle On Downgraded Legacy Encryption) which uncovered vulnerability in  Secure Sockets Layer (SSL) version 3 protocol or in short SSLv3. SSLv3 is an obsolete but still used encryption in both older and new web browsers.  (It is an 18-year-old protocol which was replaced by the TLS protocol) POODLE tries to force the connection between your web browser and the server to downgrade  to SSLv3.  The POODLE attack takes advantage of the protocol version negotiation feature built into SSL/TLS to force the use of SSL 3.0 and then uses this...

Filtering Of URL : Make Text url-safe

URL filtering is important: everyone from marketers to search engines loves nice, text-rich URLs. If we want to create keyword-rich URLs based on our dynamic content then we will need to clean and filter the source text first. Here is a handy function that will generate text very much. We can use this pretty much anywhere like in tagging systems, and in code that creates permalinks based on post titles or taxonomy terms. function filter($value, $force_lower_case = true) { if ($force_lower_case) { $value = strtolower($value); } // remove everything except A-Z, a-z, 0-9, hyphens, and whitespace $value = preg_replace( "/[^a-zA-Z0-9-\s]/", '', $value ); // convert whitespaces to hyphens $value = preg_replace( "/\s/", '-', $value ); // replace multiple hyphens with a single hyphen $value = preg_replace( "/[-]+/", '-', $value ); return $value; } Note: This is a secure appro...

The advantages of using a Ticketing System

How many times have you come in on a Monday morning, checked your email, and then instantly wanted to go crawl back in bed after seeing tons and tons of unanswered emails? How many times has someone emailed you and then emailed you again and again, thus adding to your clutter? How many times have you needed to find something in your email and taken forever to do so? If any of the above are applicable to you and your business—you need a ticket system. So, what exactly is a ticket system? It is an email management tool that takes those inbox-cluttering emails and organizes them in such way that your head won’t explode. Here’s what happens. Say you don’t have chat (if you don’t, you should consider adding live chat to your site) or you’re unavailable, and a customer needs to ask you a question. They are directed to a simple, fully customizable web form where they can send you an email. You can then tag emails, filter them, assign them to various employees, and keep y...

Benefits of using Colocation Hosting

Colocation is an option of hosting for small scaled  businesses who demand the features of a vast IT department without much costs. Many of large corporate sectors have the net infrastructure to host web servers and have a group of IT professionals for managing and designing the site which small companies do not. Options are available in a wide range from typical hosting up to the running of their own Web servers in a dedicated link. One of such options is Colocation. It is a type of web hosting service that allows the companies for buying rack spaces in the data centers. There users can store and manage their server equipment. These Data Centers eases the built for Colocation services of hosting and following it companies can do have their own working servers without putting them on their campus. Colocation provides the associated Companies with much better defined flexibility of installing the operating systems as well as other important tools according to...

CakePHP for buidling your web app = great choice!

CakePHP is a PHP framework that simplifies the way you do programming. What do I mean by “framework”? This concept is best explained by making a comparison with traditional application scripts: a typical PHP script starts at the top and proceeds to the bottom while utilizing included classes to create objects and processes the intended logic. An error in your syntax ruins everything, and you need to manually code database connections and other activities not native to the language. MVC Pattern Model support data handling, with model class you can insert, update, delete or read the data from the database. View support data rendering on the screen. Controller process and responds to events and can modify data before it interact with the model (database). With this pattern it’s very easy to separate the logic from the presentation, which is very useful for large applications and sites. Faster development CakePHP shaves a lot of time off your typical coding assignme...

How to post a ticket in kayako using rest api from a cakephp application?

Nowadays REST API (web services) development based on RESTful architecture  is accepted across the Web as a simpler alternative to SOAP – and Web Services Description Language (WSDL)-based Web services. Key evidence of this shift is the adoption of REST by web 2.0 service providers, including Yahoo, Google, and Facebook, who have shifted their SOAP and WSDL-based web services to RESTFul API. RESTful development has become the standard way of creating a web application. How to post a ticket using rest api? To post a ticket using rest api we have to post the data using an http post request. That can be done by using curl, but cakephp has Http Socket which makes http post easier than the curl. You can post ticket as a staff or a client user, the difference lies only in a single field that we post. To create ticket as staff we have to pass “staffid” and to create ticket as a client we have to pass “userid” in post. Example : $apiUrl = $api_url.”e=/Tickets/Ticket...

Access control List(ACL) in CakePHP

An Access control list or ACL is used to make access control for each of the logins and handle security of the app. For example, ACL handles menu level permission access and function or module level access permission. When a subject requests an operation on an object in an ACL-based security model the operating system first checks the ACL for an applicable entry to decide whether the requested operation is authorized. A key issue in the definition of any ACL-based security model is determining how access control lists are edited, namely which users and processes are granted ACL-modification access. ACL models may be applied to collections of objects as well as to individual entities within the system’s hierarchy. ACL basically handles 2 things: ARO(Access Request Object): Aros are of usergroups and users. Each of the users are mapped to aros to know the group he belongs to. ACO(Access Control Object): Aros are of menus and modules. Where every usergroup will h...