This paper presents an e-service framework, designed in allusion to the service-on-demand concept, for the next generation service-based Internet applications, A two-layer cryptographic security infrastructure is laid in the e-service framework for secured services. By separating the service functionality from its operating medium, the framework successfully prevents many security hazards from happening. It also offers a most desirable benefit to both service providers and users. For service providers, deployment of a service is as easy as inserting a plug-n-play interface card and for service users, using a service is as easy as filling out a downloaded form. The main goal of this framework is to offer a total solution for providing and using secured services easily instead of programming for services hardly.