Mobile computing is a very broad term which can be used to define any means of using a computer while outside of the corporate office. The security is the most important thing in the pervasive environments. The personal information's are identified by the malicious user. Some of the drawbacks are involved in the UPnP architecture. They are user authentication, and service access control. These are all not suitable in the pervasive environments. And also the integrated heterogeneity of the pervasive environments provides the different security and pervasive environments depending upon the services and the environment provided.