Sharepoint top link bar visible true/false - sharepoint-2010

All,
I have a default top link bar in sharepoint which we keep on adding/modifying.
We have a requirement as such that few links, we want to make visible true/false based on user permission.
Is it possible through sharepoint settings? or we need to handle it throuhg code?
we are using SP2010.
Any suggestion?
Thanks in advance

First make sure to enable the Publishing feature of your site. You can do this by following the steps here.
Once that is done you can use Security Trimming and Audience Targeting for your top link bar. Steps on how to do it can be found here. Please take note however that this may lead to performance issues once your SharePoint site grows. There are other suggestions in the linked site above on how to address these issues as well.

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 🙂

Expres JS admin panel

How does express js come in the usage where it doesn't have a built-in admin panel? If there's an admin panel I can use readily, please refer one.
I tried Admin Js, but it's not reliable I guess. Because it's in baby-phase still. I'm deciding to stay away from MERM Stack because of it's lack of a built-in admin panel. I mean would I tolerate the hazard of making an admin panel every time for every client? Please help me out on this.
Correct, unfortunately there is not a built-in panel, anyway keep supporting the mern community, here is a website with plenty of ideas https://reactjsexample.com/tag/admin-template/

Track how often link was clicked

I am currently running a website where I promote different coffees from pubs in my city. On my website I have links to the different coffees.
I have recently seen some of this links being shared on Facebook and other social networks.
So I was wondering if it is somehow possible to track how often one of this links are being clicked?
I have tried using redirects to my site but Facebook uses my pictures in the previews, whereas I don't want this because it is misleading.
I have seen that this works with Bitly so it must somehow be possible?
And there are of course different services providing this, but it would be nice if it would run without any foreign services.
So basically I am looking for a solution which will let me know how often a link, origination from my site was clicked in Facebook, Google+ or any other forum.
There definitely is. Try looking into Google Analytics, it will show you show much data from your personal websites and links that it can blow your mind! Here is the link
Google Analytics helps you analyze visitor traffic and paint a
complete picture of your audience and their needs. Track the routes
people take to reach you and the devices they use to get there with
reporting tools like Traffic Sources. Learn what people are looking
for and what they like with In-Page Analytics. Then tailor your
marketing and site content for maximum impact.
You can even get a free package to use!
Hope this helps!
Yes you have plenty of analytical options.
Something as straight forward as Google Analytics for example.
If you are using cpanel on your hosts server, you even have options such as AWSTATS, which will also provide information.
If all else fails you can even use post data stored in your apache / nginx logs.
Since you have amended your question you might want to check out this tool. It is not google. :)
It is called Click Meter and performs Link Tracking and provides click reports, etc

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

What was lab.msdn.microsoft.com?

I've seen some links to lab.msdn.microsoft.com, but now all it does is give a standard ASP.Net error page.
What did the site use to have, and when did it go down?
I am not sure but is it Microsoft Research?