ASP.net 中的会员系统
我将在 ASP.net 中使用会员系统,但需要通过两种方式进行更改。 存储用户的数据库是 Access,我想对密码(等)加盐,并要求用户输入存储在数据库中的详细信息,例如 Facebook 页面的链接等。
那么如何使用系统的访问权限呢?
我如何更改/添加存储在数据库中的字段(顺便说一句,我知道如何在数据库中创建它们,只是我如何让会员系统请求它并存储它)
(我可以自己注册/用户登录系统,除了我不知道如何限制对页面的访问,所以我该怎么做?)
教程/参考的链接会很棒
I'm going to use the membership system in ASP.net, but need to change it in 2 ways.
The database which stores the users is Access, and I want to salt the password(etc) plus ask the user to enter details like links to their facebook pages etc which are stored in the database.
So how do I use access with the system?
And how can I change/add fields which are stored in the database (i know how to create them in the database btw, just how I get the membership system to ask for it and store it)
(I could make my own registration/user login system, except I don't know how to restrict access to pages, so how could I go about this?)
Links to tutorials/references would be great
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
另一个关于如何为访问数据库。
And another on how to write a custom membership provider for the Access Database.
1) 使用 SQL Server Express 版本。它是免费的,很好,开箱即用。
2) 查看个人资料提供商以进行个性化设置。 http://msdn.microsoft.com/en-us/library/2y3fs9xs。 ASPX
1) Use SQL Server Express edition. It's free, it's good, it works out of the box.
2) Check out the Profile providers for personalisation. http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx
以下链接解释了如何使用 Access:
http://msdn.microsoft.com/en-us/library/44w5aswa。 aspx
至于存储额外的用户信息。 Asp.NET 通过个性化提供了这一点。这里有两个链接可供您使用:
视频:http://www.asp .net/learn/videos/video-43.aspx
文章:http://msdn.microsoft.com/en-us/magazine/ cc163724.aspx
Here's a link explaining how to use Access:
http://msdn.microsoft.com/en-us/library/44w5aswa.aspx
As for storing extra user information. Asp.NET provides this via personalization. Here are two links to get you going:
Video: http://www.asp.net/learn/videos/video-43.aspx
Article: http://msdn.microsoft.com/en-us/magazine/cc163724.aspx
还有一个...
会员资格提供商 MSAccess
one more...
Membership Provider MSAccess