随笔分类 -  DotNetNuke

摘要:参数username为其更新密码的用户。oldPassword指定的用户的当前密码。newPassword指定的用户的新密码。返回值如果密码成功更新,则返回 true。如果提供的旧密码无效,用户被锁定或数据库中不存在该用户,则返回 false。备注Membership 类调用此方法来更新 ASP.NET 应用程序配置文件 (Web.config) 中指定的 SQL Server 数据库用户的密码。最大密码长度是 128 个字符。如果为 ChangePassword 方法提供了错误的密码,跟踪无效密码尝试次数的内部计数器递增 1。这可能导致用户被锁定并无法登录,直至调用 UnlockUser 方 阅读全文
posted @ 2010-01-01 22:07 xwdreamer 阅读(1110) 评论(0) 推荐(0)
摘要:参数username新用户的用户名。password新用户的密码。email新用户的电子邮件地址。passwordQuestion新用户的密码提示问题。passwordAnswer新用户的密码提示问题答案。isApproved是否允许验证新用户。providerUserKey唯一标识 SQL Server 数据库中成员资格用户的 Guid。status一个 MembershipCreateStatus 值,指示是否成功创建用户。返回值用于新创建用户的 MembershipUser 对象。如果没有创建用户,此方法将返回 空引用(在 Visual Basic 中为 Nothing)。备注Membe 阅读全文
posted @ 2010-01-01 21:55 xwdreamer 阅读(971) 评论(0) 推荐(0)
摘要:1.属性值一个 MembershipPasswordFormat 值,表示用于在 SQL Server 数据库中存储密码的格式。2.备注SQL Server 成员资格提供程序支持 Clear、Encrypted 和 Hashed 密码格式。Clear 密码以明文形式存储,可提高密码存储和检索的性能,但安全性较低,因为如果 SQL Server 数据库的安全受到威胁,可轻松读取密码。Encrypted 密码在存储时加密,并可解密以进行密码比较或密码检索。此类密码在存储和检索时需要进行额外的处理,但比较安全,在 SQL Server 数据库的安全性受到威胁时不容易被获取。Hashed 密码在存储到 阅读全文
posted @ 2009-12-31 19:56 xwdreamer 阅读(416) 评论(0) 推荐(0)
摘要:当初有一个现成的项目,通过VS2005可以发布并登陆到首页的default.aspx,但是我通过IIS指定虚拟目录就是怎么也无法登陆。后来才明白现成项目已经绑定了特定的域名,我想通过iis发布只能指定相同的别名才可以。 比如我原来的项目已经绑定域名localhost/dnn,那么我将这个项目转移到其他电脑上发布时,在用iis指定虚拟目录是必须使用dnn作为别名,而不能用其他的。如果我们用host登陆到localhost/dnn,我们这里在绑定一个虚拟目录名,比如localhost/dnntest,那么我们在iis下再创建一个别名为dnntest的虚拟目录就可以访问了。 在dnn原来的系统下面. 阅读全文
posted @ 2009-12-31 12:18 xwdreamer 阅读(305) 评论(0) 推荐(0)
摘要:感觉DNN中许多的属性值都不是中国特色的,我们在面对客户需求的时候有很多地方需要改进。单拿“档案管理”中的address来说吧,里面就分了state,city,street等等。感觉我们平常网站就一个address字段就足够了。没有必要。那么这个在哪里修改了。我们可以在admin(网站管理)的user account(用户管理)中作修改。 而这些修改对应的是数据库中的ProfilePropertyDefinition表中添加了一个属性。比如我们想要属性中有一个身份证号的字段,那么我们在档案管理中添加idcode字段,那么在表ProfilePropertyDefinition中就多了一条关于i. 阅读全文
posted @ 2009-12-31 12:07 xwdreamer 阅读(193) 评论(0) 推荐(0)
摘要:方法一:要求条件是已知一个账户的账号和密码。可以通过手动方式重置,也可以通过下面的脚本。/* -- Database Utility --------------------------------------------------------------------------- Description : Reset a Password in a DotNetNuke database Author : Tony Tullemans Date Created : 18.04.2007 Note/s : Before you run this script you must know t 阅读全文
posted @ 2009-12-29 22:13 xwdreamer 阅读(590) 评论(0) 推荐(0)
摘要:自学了两个星期,今天终于把那个DNN项目的密码给破解了。其实原理很简单,早就可以破解了,连看DNN user guide都没有必要,只要当初我在网上搜索“DNN密码”就可以找到方法了,但是我这个人对于那些未知的东西总是冲了了一种敬畏心,感觉哪有这么容易破解的事情,如果这样,那么那些搞软件开发的人怎... 阅读全文
posted @ 2009-12-28 15:45 xwdreamer 阅读(447) 评论(0) 推荐(0)
摘要:Host SkinThe Host Skin option allows you to choose the primary skin that a DNN instance will use. By choosing either the Host or Site radio button, you will populate the drop-down list with skins. Skins at the host level are available to all websites within a DNN instance, whereas skins installed at 阅读全文
posted @ 2009-12-26 00:47 xwdreamer 阅读(215) 评论(0) 推荐(0)
摘要:The Super User AccountDNN differs from other CMS systems because it enables you to host multiple websites (portals) out of the same set of files and a single database. This flexibility is what causes the need for super user and administrator accounts. The super user, or Host, account has the ability 阅读全文
posted @ 2009-12-26 00:46 xwdreamer 阅读(212) 评论(0) 推荐(0)
摘要:Setting Up Your Web ServerNow that you have your files configured for your DNN installation, you must configure a website, or web application, within your local web server. If you are running Windows XP on the computer that you will be installing DNN on you will be limited to configuring DNN as a vi 阅读全文
posted @ 2009-12-26 00:44 xwdreamer 阅读(249) 评论(0) 推荐(0)
摘要:What Is DotNetNuke?DotNetNuke (DNN) is an open source web application framework that can provide CMS functionality.Where DNN differs from other CMSs is the extensibility that it provides through the use of add-ons,known as extensions. DNN can be used for many different types of websites, from the si 阅读全文
posted @ 2009-12-26 00:43 xwdreamer 阅读(230) 评论(0) 推荐(0)