专注于.NET技术
坚持每天都要到博客圆里逛一逛. 哈哈!!!JodyJin
摘要: 自定义SOAP标题可以限制调用服务的用户范围 1using System; 2using System.Web; 3using System.Web.Services; 4using System.Web.Services.Protocols; 5 6[WebService(Namespace = "http://livebaby.cn")] 7[WebServiceBinding(Confor... 阅读全文
posted @ 2007-05-24 13:51 博客人 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 可以使用受保护配置来加密 Web 应用程序配置文件(如 Web.config 文件)中的敏感信息(包括用户名和密码、数据库连接字符串和加密密钥)。对配置信息进行加密后,即使攻击者获取了对配置文件的访问,也可以使攻击者难以获取对敏感信息的访问,从而改进应用程序的安全性。 针对asp.net 2.0的应用程序的数据库链接字符串进行加密:例如,未加密的配置文件中可能包含一个指定用于连接到数据库的连接字符... 阅读全文
posted @ 2007-05-24 13:40 博客人 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 所谓自定义类,不知道我有没有表达清楚,这里指的就是petshop中的Model层实体类了。 比如以下代码: using System;using System.Collections;using System.Collections.Generic;using System.Text;namespace Model{ [Serializable] public cla... 阅读全文
posted @ 2007-05-24 13:34 博客人 阅读(904) 评论(2) 推荐(0) 编辑
摘要: Download source files - 32.3 KB Introduction This is a simple mechanism to authenticate users to a Web Service, using a Time Token and MD5 Hashing to encrypt password. Background In CodeProje... 阅读全文
posted @ 2007-05-24 13:32 博客人 阅读(650) 评论(0) 推荐(0) 编辑