Sharepoint 2010 discussion board user creation/authentication for internet (public) sites - sharepoint-2010

We are creating a internet site (with anonymous access) in SharePoint 2010. One of the features requested is a discussion forum (not anonymous). We very much want to use the built in SharePoint Discussion Board (the look is dull, but we are OK with it). What I don't quite understand is how to implement user authentication and creation. Will every user have that participates in the discussion be a domain user? If I use a different authentication provider, how do I integrate external roles to SharePoint roles/permissions. Any tips or links on how to implement user management for public SharePoint sites would be great. Thanks.
Similar question, but not what I was looking for:
share point 2010 :how to create forum website , using in team discussion question and answerig?
https://stackoverflow.com/questions/5098521/any-decent-reference-materials-for-sharepoint-2010-for-internet-sites

Perhaps I didn't search well enough (or didn't use the correct terms) but I eventually found what I was looking for: SharePoint 2010 FBA Pack. With this, I am able to create all my users via SharePoint and manage permissions using the role provider. Very easy and powerful solution.

Related

How to download a file from a SharePoint though a website button?

I hope all is well,
I have a webpage that has a button and a SharePoint library.
Once the user clicks the download button, the document will be downloaded from SharePoint with a watermark of the user trying to download this file.
Additionally, I need to manage who can access or download the file.
Therefore, the main points to consider are:
User authentication to the SharePoint document library
Pulling the document from the website itself
Watermark feature
Thus, what is the most effective practice to achieve that and what should I use?
Thanks in advance
oh man, this is really an open and not quite detailed question 😟. Could you provide more context? what language are you using? have you already tried something and what is failing?
For now, the only help I may provide you is just general info 🙂:
User authentication to the SharePoint document library
if you are extending SharePoint or M365 with a SPFx solution you do not need to worry on auth. If it is totally aside I would recommend checking
https://learn.microsoft.com/en-us/graph/auth/auth-concepts
I would strongly recommend checking microsoft-graph-toolkit there is a mgt-login component
https://learn.microsoft.com/en-us/graph/toolkit/components/login
again here I would also recommend using MS Graph and endpoint like https://graph.microsoft.com/(version)/sites/(site-id)/drive/(drive-id)/items/(item-id)/content
I guess this is a very similar topic: Sharepoint Graph API download file from Document library that are not listed as drive ("Site Pages" and others)
Watermark feature
as for this I would take a look at Microsoft 365 sensitivity labels feature and read more about it here
https://learn.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels?view=o365-worldwide#what-sensitivity-labels-can-do
I hope this will be of any help. For sure it is a good start 🙂

How can I use M/S Graph APIs to read Sharepoint lists

I see from other Users' questions that this used not to be possible but other research suggests it now might be; I'm using Graph Explorer and have started with this generic URL: https://graph.microsoft.com/v1.0/sites/{siteId}/lists/{listId}/. I'm logged in as a User who is an Owner of the Sharepoint site I'm going after. But so far, I have not been able to find, much less see the contents of any Lists that I know are there in the site. Q1: Is this even possible (now)? Q2: How - or - what am I missing?
Yes this is possible but the graph API doesn't rely on the permissions as defined on SharePoint and might explain why you are not seeing the lists you own via the graph api.
You will have to setup the necessary Azure AD permissions on your app to access SharePoint list and items via the graph api.
As shown below, i can read data from the specified list based on permissions already consented to.

Hosting Google Plus Communities on My Website

Is it possible to embed a google community into a website page?
This way our clients can benefit from content and all other features in our website, yet be able to collaborate using Google Communities.
Ideally I would like to grab a Javascript code just like +1 button and paste it into my website page, add an iframe or something of this nature!
UPDATE:
Sounds like if I try to be convincing, I may be able to influence some decisions!
More details: Our website services offers login with Google using Google OAuth, This way the user is either logged in or is forced to login with Google to get access to private areas of our customer portal, where you can review the status of Support Tickets, submit new support tickets, have access to knowledge base, documents, blogs, etc.
We have incorporated all sort of social plugins into the blogs, product catalogs and so forth.
It would be fantastic is the users can have access to a community (Forum or Discussion Board) within the same place. Google Community seem to be the tool but in the wrong place.
No such widget exists at this time, but it's an interesting idea. If you want to share more details on precisely what you're looking for, you can file the issue here: https://code.google.com/p/google-plus-platform/. The more details you can provide, the more likely that, if we decide to implement this feature, we'll end up with something that you want.

How to Write Code Compatible with the Security Architectures of both SharePoint 2010 and 2007?

I'm currently reworking some code written for a SharePoint 2010 application, utilising Claims-based Authentication. However, I'm not that familiar with CBA and need to make the code work within a SharePoint 2007 and I'm banning my head against various invalid Google searches.
The code, creates a SecurityToken from within the SPSecurityContext, which is only available, from what I can gather, in SP2010:
SPFormsAuthenticationProvider authProvider = iisSettings.FormsClaimsAuthenticationProvider;
return SPSecurityContext.SecurityTokenForFormsAuthentication(.....);
SPIisSettings in SP2007 does not contain any reference to FormsAuthentication, is there any other way that I can get this to work? I'd appreciate any feedback on this, like I said, I'm bumping my head against Google searches that's not getting me anywhere closer.
Edit: Thanks John for fixing up the question. Reads easier.
This is not possible in SharePoint 2007 as there's no claims token to authenticate against. What I'm trying to achieve here, after I actually sat down to understand the code, is to check whether a user's active session is valid, by interrogating the SecurityTokenService (Windows Identity Foundation). In standard Forms-based Authentication, this is not necessary.
Thanks,
Eric

How to install Form Based Authentication in SharePoint 2010

I would like users to have the ability of signing in without being Windows users. This means, either using Form Based Authentication or a better option, which I'm now aware right now.
Could anybody tell me how to install FBA in Share Point 2010, or recommend me a good article about it?
I've read several articles about this, but almost all of them tell me to modify several web.config files, and I really don't like the idea of touching things without being sure of what I'm doing.
Note: I'm not using Active Directory...just in case.
EDIT:
I've followed this tutorial, but I still cannot sign in using FBA. Also, I've noticed I don't have any users on SQL-Auth database (it's explained in that tutorial). Is that normal, or automatic?
Thanks,
Brian
I read quite a few articles about FBA configuration and followed instruction provided by them. But it wasn't until I found Configuring Forms Based Authentication for SharePoint 2010 using IIS7 I finally managed to make FBA work - I highly recommend this article.
The users are not created automatically - you can create them:
using IIS Manager,
programmatically (Membership.CreateUser),
using the MembershipSeeder tool mentioned in the tutorial you linked in your question.
This one has lots of screenshots and step-by-step explanations and might be helpful too.
http://kbochevski.blogspot.com/2011/01/setup-fba-for-sharepoint-2010-using-vs.html