Security is the protection of information and property from theft.

learn more… | top users | synonyms

1
vote
1answer
5k views

User Profile Application Proxy failed to retrieve partitions from User profile application - Cant access application either

I am experiancing an issue where ever so often the sharepoint (2010) site keeps throwing security errors(The security validation for this page is invalid) iisreset fixes this shortly but ...
1
vote
2answers
3k views

PowerShell to Remove Site User Permission

I am looking for some help removing a User Permission from a site using PowerShell.
0
votes
1answer
452 views

SpServices Cannot Get Sub-Sites without Being Site Collection Admin

I am building a web part which is delegated by permissions. It is displayling members of the Members group and Owners group onto the page, and if a user does not have Members or Owners permissions, ...
6
votes
5answers
9k views

Get name of Farm account using Powershell

How can I get the name of the Farm account ? I can see it listed in Get-SPManagedAccount, but do not see any properties on the SPManagedAccount objects to be able to dynamically filter by and ...
0
votes
3answers
485 views

Access Denied for SPUserCollection.remove()

Works for administrator but not working for a normal user. I even tried it with "SPSecurity.RunWithElevatedPrivileges(delegate() {});" after breaking RoleInheritance, and even tried ...
3
votes
1answer
380 views

RunWithElevatedPrivileges doesn't work in Webpart Constructor

With Sharepoint 2007 I am using RunWithElevatedPrivileges to write to the Event Log, but if I place the call inside the Webpart constructor, I get a "Request Failed" message. However, if I put this ...
1
vote
1answer
94 views

Cannot read site collection details with some accounts

In my SharePoint environment, I have a few seperate web applications with some different admin users. Now a new user I created is added as local admin (needed for Powershell remoting) and farm admin. ...
0
votes
1answer
144 views

How to prevent members of a certain group from filling out, submitting or even viewing a form?

Lets say I have a few users in a group called "Restricted" and I don't want them to be able to view or submit forms. Should I add some code in the Form_Loading event that checks what groups the ...
1
vote
0answers
589 views

Get Permissions with client object model

i want to add a permission on a folder who's inside a document library with javascript/jquery/client object model. The problem i have is, its a custom permission level created when some feature is ...
1
vote
1answer
855 views

Javascript, cannot complete this action

i am currently running some code on a sharepoint front end and am getting this error "Microsoft.SharePoint.SPException" "Cannot complete this action.\n\nPlease try again." So i looked into this and ...
1
vote
1answer
1k views

Security on Document Library's item

i need to add some security to a Document Library, i want to be able to have multiple folders and multiple documents. This feature would provide users with proper right to modify, read, hide documents ...
7
votes
5answers
5k views

Google Analytics for an Intranet Site

I installed the Google Analytics tracking code in an intranet site, it works properly. But my concern is, are there any security risks of using it for an intranet site? simply, is it ok to use Google ...
2
votes
1answer
3k views

EnsureUser throws The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again

I have this code: The EnsureUser Line is throwing me that exception, any idea? The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your ...
1
vote
2answers
987 views

Dissappearing SharePoint Groups

SharePoint groups started to disappear- totally randomly, within a single site collection. I am pretty sure they are not deleted because we have few site collection admins with knowledge. like this: ...
0
votes
2answers
7k views

Stop inheriting permissions programatically

I want to set read permissions to some sharepoint groups to a list. For existing sites I did it manually, Stop Inherit permissions. Then on groups I chose the groups and edited their permissions, ...
1
vote
1answer
56 views

List permissions

I want to disallow a specific list only to be only read only for all users in the site. The only one with permissions would be the site collection administrator of course. I stoped inheriting ...
0
votes
1answer
241 views

Can I BreakRoleInheritance for root folder in #SharePoint library?

Can I BreakRoleInheritance for root folder in SharePoint library. list.RootFolder.Item ruturn null.
4
votes
1answer
360 views

Fine grained permission control using Web App Zones?

I am using SharePoint 2010 Server. I am trying to understand (and test out) all the various options for using different authentication sources for internal and external users on a site that can be ...
0
votes
2answers
4k views

Risks of using Permissive vs. Strict for Browser File Handling

We have some web sites in our SharePoint 2010 site collection that need to display SWF files (to play FLV videos). For SharePoint to render the videos, we go to the web application in Central Admin > ...
0
votes
2answers
3k views

Sharepoint output list of users

I would like to output the users of a group, for 40 groups, or for every group within the SharePoint Portal. I would like to do this programatically through powershell or a command line tool for the ...
0
votes
1answer
159 views

manage permissions per list

I have a SharePoint 2007 Foundation portal with about 20 sites, each mirrored per client differing only in membership groups and client-specific content. The person who set up the site created 2 ...
3
votes
1answer
3k views

What permissions do I need for a user to see all entries in a list where typical users can see only their own submissions?

I have a list where users can create and see their own items, but not other users' items. I, being the site owner, can see all items. How can I give specific users within a Sharepoint Group the ...
1
vote
3answers
2k views

Encrypt SSN column in a list

I need to encrypt social security column in a list. What are my options? ps: Did not find Encryption in the Tags. Actually, looking for something like this (Column Level Security, but non ...
2
votes
3answers
277 views

Deny user access from SharePoint Native but allow it from custom application

How can i restrict a user from entering SharePoint - unless he is using my custom application? For example, a user tries to open http://Mysite , he gets an access denied error. But as the same time, ...
0
votes
2answers
371 views

Using Information Management Policies to prevent users from downloading videos from a document library

I have a basic SharePoint 2007 document library which contains a number of videos (.wmv files). This list is lives within our company's intranet and so is accessible only by authorised users. We want ...
1
vote
1answer
346 views

Access control with a very large AD group

I'm working with a company that has 100k+ employees, contractors, and external partners who have user accounts in their Active Directory. People fall into different categories: Employees (60k) ...
2
votes
1answer
558 views

Security Exception - Trying to load MySite Blog

When I try to run this async query it fails: private void SomeFunction() { Thread thread = new Thread(GetBlogInfo); thread.Start(); } private void GetBlogInfo() { ...
0
votes
1answer
472 views

How to give access programatically to a site

In my scenario we want to customize the access request page. We already know how to create an application page, and with a powershell command, instruct sharepoint to use that page instead. ...
7
votes
5answers
2k views

How to detect if my code is running inside SPSecurity.RunWithElevatedPrivileges

Is there a way to detect if my code is running inside SPSecurity.RunWithElevatedPrivileges? class Foo { public static void Bar() { if (CODE_RUNS_ELEVATED) { Debug.WriteLine("You ...
5
votes
1answer
2k views

more than one attachment field

We are planning to retire one of our old fashion tools and currently evaluating Sharepoint 2010. in our current tool, we have 3 different attachment sections two of which are visible to customer, and ...
1
vote
1answer
100 views

Can I use all type of authentications in a sharepoint site external users also

Can I use the same authentications of internal users (available in AD) to external users.? If no what all authentication method I can use for external users? Is there any difference in ...
2
votes
1answer
6k views

How to remove a permission to a SPPrincipal on a Item (programmatically)

I'm trying to work with privileges on elements of a list. I want the item to mantain the same privileges for all SPPrincipal I don't modify. This is the code public static void ...
9
votes
3answers
3k views

Java to Sharepoint interface, with claims based authentication

I have a sharepoint server with a claims-based authentication (ADFS server). I have a Java app that needs to push data to a sharepoint list, preferably over the REST API, and with the additional ...
2
votes
2answers
493 views

Column Level Security Products

I am looking for recommendations on products that handle column level security. What is the best product out there? Any input will be greatly appreciated. Thanks!
4
votes
1answer
6k views

Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack

this code thow an exception at "Item.Update();" private void AddEmail() { site = SPContext.Current.Site; web = site.RootWeb; ...
0
votes
1answer
49 views

Additional databse - best practices

Our system needs to synchronize data with external systems by web services. We want additional database to keep needed data and then be able to access it. I wonder how to resolve issue with database ...
1
vote
4answers
1k views

Access denied - Let me in!

I'm a farm admin I'm a site collection admin I'm a member of <site> Owners Access denied logging in (Windows) What else could it be? FYI, in system.web <authentication mode="Windows" ...
3
votes
2answers
4k views

Sign in as a different user access denied

Clicking the "sign in as a different user" link from the system menu in SP 2010 yields an access denied error. URL is: \_layouts\closeConnection.aspx?loginasanotheruser=true any ideas?
3
votes
2answers
3k views

Is it possible to limit the visibility of list items to not only just me (the author), but anyone from my company too?

I have a custom list on a SharePoint 2010 extranet site which users from various external companies can add items to. The list's Permission Settings page allows you to make all items visible to all ...
1
vote
4answers
3k views

Modifying the current list item in a workflow

I have a workflow running when an item is adding to a document library. In this workflow, I have a code activity that I am attempting to set permissions to the list item. I am trying to break ...
0
votes
1answer
4k views

add users to central admin but don't allow them acces to change security or permissions?

Is it possible to give users access to Central Admin but deny them access to change security or permissions. For example, they can do everything from creating a web application, service application, ...
1
vote
1answer
182 views

Authentication - multiple web domains

We use claims based authentication and have one application running, say www.abc.com This application authenticates against AD via claimns provider. We would like to deploy another web site: ...
1
vote
1answer
131 views

Cannot create site in different web application - Silverlight Client Object Model

I am developing a Silverlight application. It interacts with SharePoint 2010 using SharePoint Silverlight Managed Client Object Model. One of the application functionalities is to create a ...
1
vote
1answer
50 views

Security Issue for a user group in SharePoint 2010

For a SharePoint group 'A', I made the security to Read only. Now my requirement is that, I have created a custom webpart, with one text box and a button, Where the users from 'A' group was supposed ...
1
vote
3answers
2k views

How to troubleshoot Access Denied without guessing?

I had an issue where users are getting "Access Denied" even though they shouldn't. It turned out to be related to custom code and fixed in the end, but there was a lot of guesswork involved. Is there ...
2
votes
4answers
2k views

SharePoint 2010 Insights (PerformancePoint): '401 Unauthorized' error on invoking 'Run Dashboard designer'

Environment: SharePoint 2010 on Windows 2008 R2 Standard + SQL Server 2008 R2 I am trying to setup the BI infrastructure Lab as outlined in this article: ...
1
vote
3answers
2k views

How to force the Word Automation Services Timer to run?

I need to run the Word Automation Services immediately after adding a job. My code is running in a workflow. Here is what I got so far : SPSecurity.RunWithElevatedPrivileges(delegate() { using ...
1
vote
2answers
902 views

Does breaking library/list security inheritance also break it's items inheritance?

We need to break inheritance on a document library. Some users of a site should have read only to document library 1 while some users should have contributor rights to document library 2 (both within ...
4
votes
1answer
271 views

users with Contribute getting 403 forbidden error

This is something I haven't seen in 4 years. Users in SP Group "Accounting" with Contribute access getting 403b forbidden error. It was working fine until this morning. However, I log in as sp admin ...
2
votes
1answer
52 views

Blocking Access to Specific Sites For Certain Alternate Access Mappings

Ok, so I'm not sure that this is entirely possible, but wanted to pose the question: would it be possible to block access to certain content when the site is accessed from a certain alternate access ...