The basic idea for framing the security architecture for IoT is, utilizing security mechanisms and protocols effectively, to start off with a design that takes security into consideration from the requirements gathering to maintenance as seen in Figure 4, following the software development life cycle..