Kaneboy's SharePoint Blog

SharePoint & Office Zealot
随笔 - 392, 评论 - 8167, 引用 - 201

导航

关于


About me :
SharePoint Architect. Build SharePoint solutions from year of 2003. Joined Microsoft in 2004. Working for HP now.

Certification :
MCPD - Web Dev
MCTS - SharePoint 2007 Dev
MCTS - SharePoint 2007 Config
MCTS - WSS 3.0 Dev
MCTS - WSS 3.0 Config
MCTS - SPS2003 Infra
MCTS - SPS2003 App
MCT
(ex)MVP 

Contact me :
kaneboy@gmail.com | follow @kaneboy on twitter

Authored books:


标签

每月存档

最新留言

  • TJdGTIcckQAhoFxXX
    Nice site. Thank you., <a href="http://burarufi.freehostia.com/packers-11/map.html&a...
    by discover egypt nile cruises(匿名) on 2010/3/21 6:40:11
  • re:示范如何以异步AJAX方式访问SharePoint数据
    沙发!支持!辛苦了!
    by starfish(匿名) on 2010/3/20 20:45:12
  • YuQRkwvMBBZqPFbxLOZ
    Very good site. Thanks!, <a href="http://basudasu.100webspace.net/finder-rf0/map.htm...
    by palermo pizza(匿名) on 2010/3/19 8:31:52
  • KCWuaBjeQjjTAwrbD
    Very good site. Thanks!, <a href="http://gekasite.angelfire.com/drive-fib0/map.html&...
    by perform definition(匿名) on 2010/3/19 7:31:03
  • BdWphqDuVGQ
    Nice site. Thank you., <a href="http://qevubig.100webspace.net/indian-e5c/cerayeem.h...
    by miss paris 2010(匿名) on 2010/3/19 1:04:33
  • waQJcBXJIUeshGqb
    Nice site. Thank you., <a href="http://usuarios.multimania.es/gedewuq/wholesal8e/zde...
    by louisiana college and university(匿名) on 2010/3/18 4:56:59
  • EnyuAcEEMmnRoTId
    Very good site. Thanks!, <a href="http://tovadeh.tripod.com/wholesal7a/zdeddeain.htm...
    by ponds dry skin cream(匿名) on 2010/3/18 3:50:00
  • OGxXKGtGarqlVonGd
    Nice site. Thank you., <a href="http://usuarios.multimania.es/sixacig/7th-dumm5f/map...
    by gourmet kitchen tool(匿名) on 2010/3/18 0:26:14
  • sRGCvENEKieXau
    Very good site. Thanks!, <a href="http://kuxeramu.100webspace.net/fashion-00/map.htm...
    by patent vinyl fabric(匿名) on 2010/3/17 8:06:07
  • cWfXKniuINOYXKuI
    Nice site. Thank you., <a href="http://kuxeramu.100webspace.net/mormon-r33/map.html&...
    by manitowoc ice maker(匿名) on 2010/3/17 6:59:30
  • qdvyXmxjTh
    Very good site. Thanks!, <a href="http://necilasa.100webspace.net/drag-game2/map.htm...
    by tennessee birth injury attorney(匿名) on 2010/3/17 5:52:17
  • lRojiPFRIMcWwEXXu
    Very good site. Thanks!, <a href="http://bikroom.co.tv/admitidos-univers/ssthapllery...
    by 2010 earned income tax credit(匿名) on 2010/3/16 6:44:43
  • hsJFqJCGACrvvC
    Very good site. Thanks!, <a href="http://magra.myip.org/linkin-park/disoracove.html&...
    by lowongan kerja bank 2010(匿名) on 2010/3/16 4:24:53
  • nhGzvxBcXxwQg
    Very good site. Thanks!, <a href="http://bikroom.co.tv/admitidos-univers/dedsthoth.h...
    by cheap prom dresses 2010(匿名) on 2010/3/16 3:17:22
  • re:SharePoint 2010新体验10 - 文档评分
    @hao SharePoint 2010是内置的。WSS 3.0的有第三方工具实现类似的功能。
    by kaneboy(匿名) on 2010/3/15 23:56:52
  • re:SharePoint 2010新体验10 - 文档评分
    涂老师呀,这个功能是内置的还是第三方的呀?如果是第三方的,怎么没有下载点呀?! 还有,可不可以在WSS3中实现呀?
    by hao(匿名) on 2010/3/15 21:27:30
  • aXEOfuczpGJ
    Nice site. Thank you., <a href="http://tobovibu.angelfire.com/fiddler-8b/map.html&am...
    by miss il 2010(匿名) on 2010/3/14 4:39:10
  • rASlKTZvzQNHBKjko
    Very good site. Thanks!, <a href="http://wubibuz.tripod.com/barn-kidfa/onloremacend....
    by horse racing pick(匿名) on 2010/3/14 1:16:42
  • uPEaKxFwQmvylJcyld
    Very good site. Thanks!, <a href="http://usuarios.multimania.es/qujimeh/2010-monad/m...
    by latest songs 2010 list(匿名) on 2010/3/13 8:17:22
  • TFmptavYRfzLZZsajHV
    Nice site. Thank you., <a href="http://usuarios.multimania.es/guropin/pizza-noae/map...
    by pavitra rishta 11 january 2010(匿名) on 2010/3/13 4:54:06
  • AecAqkJdZqcodEzyT
    Nice site. Thank you., <a href="http://usuarios.multimania.es/zewiler/new-regg46/ron...
    by grammys 2010 red carpet arrivals(匿名) on 2010/3/13 2:41:40
  • oYYuhOkPwCVBgmvT
    Nice site. Thank you., <a href="http://usuarios.multimania.es/juputow/faschingd0/hod...
    by stat holidays canada 2010(匿名) on 2010/3/13 1:34:54
  • jcFlYYBsXW
    Nice site. Thank you., <a href="http://usuarios.multimania.es/noqihaw/serenata3b/fon...
    by how much snow will delaware get on 0205(匿名) on 2010/3/13 0:27:06
  • re:几个小工具
    <p><a href="http://www.moretiffany.com/">tiffany jewelry</a> Choose, buy...
    by sibat0705(注册) on 2010/3/12 20:48:39
  • re:我在SharePoint 2010 Day上做的一个演示课程
    &lt;a href=&quot;http://www.moretiffany.com&quot;&gt;tiffany jewelry&lt;/a&g...
    by sibat(匿名) on 2010/3/12 20:44:28
  • re:我在SharePoint 2010 Day上做的一个演示课程
    tiffany jewelry Choose, buy and shop for on sale tiffany jewelry including Tiffany &amp; Co Silv...
    by sibat(匿名) on 2010/3/12 20:43:55
  • re:为SharePoint 2010创建Application Page
    tiffany jewelry Choose, buy and shop for on sale tiffany jewelry including Tiffany &amp; Co Silv...
    by sibat(匿名) on 2010/3/12 20:41:36
  • re:SharePoint服务器连接配置数据库的连接字符串保存在哪里?
    tiffany jewelry Choose, buy and shop for on sale tiffany jewelry including Tiffany &amp; Co Silv...
    by sibat(匿名) on 2010/3/12 20:41:18
  • re:SharePoint服务器连接配置数据库的连接字符串保存在哪里?
    tiffany jewelry Choose, buy and shop for on sale tiffany jewelry including Tiffany &amp; Co Silv...
    by sibat(匿名) on 2010/3/12 20:40:46
  • GgrmjyrOzGQuTzL
    Very good site. Thanks!, &lt;a href=&quot;http://kofovoy.tripod.com/olympic-55/map.html&...
    by the energy show 2010(匿名) on 2010/3/12 4:08:58
  • dUUdDpkufOWSyzVtTpj
    Nice site. Thank you., &lt;a href=&quot;http://qaqodiq.tripod.com/salut-boe4/map.html&qu...
    by free virus removal windows 2010(匿名) on 2010/3/12 3:04:49
  • RUMxxmTcrgNYlOOZKpr
    Nice site. Thank you., &lt;a href=&quot;http://keladap.tripod.com/almasae-2f/map.html&qu...
    by costa croisieres 2010(匿名) on 2010/3/12 3:04:40
  • uwRyyEISfsepvT
    Nice site. Thank you.,
    by name(匿名) on 2010/3/9 9:31:43
  • qSdYCESfFoly
    Very good site. Thanks!,
    by name(匿名) on 2010/3/9 6:21:29
  • tgjKggthOUYDbh
    Very good site. Thanks!, &lt;a href=&quot;http://iyuqaba.tripod.com/lisa-lan98/map.html&...
    by who does the bachelor jake pick spoiler(匿名) on 2010/3/9 5:21:35

广告

给文档库添加项目级权限控制

在SharePoint 2007的列表中,可以通过列表设置直接启用项目级权限控制,使得只有每个列表项的作者能查看和编辑自己的项目。但是,文档库是没有这个功能的。最近有好几次被人为到这个问题,所以写了一个东东,安装到SharePoint 2007中,就可以为文档库启用这个功能了。

image

我将解决方案安装包和源代码都放到了spdoclibitemsecurity.codeplex.com上面,你可以直接到这个项目网站上下载安装包和源代码。

安装方法:
1. 在SharePoint 2007服务器上解压开安装包,然后执行里面的"install.bat",进行安装和部署。
2. 在需要启用这个功能的网站,打开"网站设置",然后进入"网站功能",然后激活"文档库项目级权限"功能即可。
image

posted on 2009-03-08 00:34:58 by kaneboy  评论(103) 阅读(20517)

Video : 将使用AD认证的SharePoint网站配置为表单方式登录

SharePoint网站默认是使用Active Directory集成认证,但如果是用于Internet场景,那么由于难以为访问用户建立AD帐号,解决方法通常是将SharePoint网站配置成使用Forms认证,在一个自定义的数据源(比如SQL数据库或其他的什么地方)中存储这些用户的凭证信息。

但有时候我们会遇到另外一种场景,那就是访问用户确实都在AD中有对应的帐号,但用户就是不习惯使用内置的那个Windows登录窗口,来输入自己的用户名和密码。这个时候,我们可以让SharePoint网站仍然使用AD认证,但是用户登录的时候,使用表单的方式,在页面上输入自己的AD帐号和密码,然后登录。下面的Video展示了完整的配置过程,以及如何做一个定制的登录界面。

第一部分:
<a href="http://video.msn.com/?mkt=uv-en-us&amp;tab=m555&amp;playlist=videoByUuids:uuids:dec9f8b5-e1b5-435f-a303-5e2910cf4919&amp;showPlaylist=true&amp;from=IV2_en-us_videoguide_player&amp;fg=gtlv2" target="_new" title="AD Auentication with Forms-Style Login in SharePoint">Video: AD Auentication with Forms-Style Login in SharePoint</a>

第二部分:
<a href="http://video.msn.com/?mkt=uv-en-us&amp;tab=m555&amp;playlist=videoByUuids:uuids:031b1794-cb9f-40fa-83b3-44189810d9a2&amp;showPlaylist=true&amp;from=IV2_en-us_videoguide_player&amp;fg=gtlv2" target="_new" title="AD Authentication with Forms-Style Login in SharePoint (Part 2)">Video: AD Authentication with Forms-Style Login in SharePoint (Part 2)</a>

Video中用到的配置信息:
(1)要添加到内容Web应用程序的web.config中的配置信息(粗体表示要添加的)
<configuration>
  <connectionStrings>
    <add name="ADConnectionString" connectionString="LDAP://moss070810.contoso.msft/CN=Users,DC=contoso,DC=msft" />
  </connectionStrings>

  <system.web>
    <membership defaultProvider="ADMembership">
      <providers>
        <clear />
        <add name="ADMembership" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString"  connectionUsername="contoso\Administrator" connectionPassword="pass@word1" attributeMapUsername="sAMAccountName" />
      </providers>
    </membership>

  </system.web>
</configuration>
(2)要添加到管理中心Web应用程序的web.config中的配置信息(粗体表示要添加的)
<configuration>
  <connectionStrings>
    <add name="ADConnectionString" connectionString="LDAP://moss070810.contoso.msft/CN=Users,DC=contoso,DC=msft" />
  </connectionStrings>

  <system.web>
    <membership>
      <providers>
        <add name="ADMembership" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString"  connectionUsername="contoso\Administrator" connectionPassword="pass@word1" attributeMapUsername="sAMAccountName" />
      </providers>
    </membership>

  </system.web>
</configuration>


附注:
(1) 如果你对SharePoint 2007中的自定义用户验证没有太多概念,可以参考我以前写过的一篇文章:《在SharePoint Server 2007中创建定制的用户管理模块》。
(2) 由于对录制Video没太多经验,导致Video声音偏小,下次一定注意。

posted on 2009-03-01 23:49:59 by kaneboy  评论(89) 阅读(17894)

Powered by: Joycode.MVC引擎 0.5.2.0