Salesforce user security is an intersection of sharing, user, Profiles, roles, roles hierarchy and object permissions.

learn more… | top users | synonyms

2
votes
1answer
16 views

Outbound Message Security and Validation

I am investigating the security implications of using Salesforce's Outbound Messages. I have reviewed the documentation about security for Outbound Messages. Does Salesforce have a way of ...
4
votes
1answer
28 views

How to avoid security risks with escape=“False” in output tags

Ok, say for example the output we need on the page must include HTML tags and we want to avoid any security risks..... Scenerio 1: No user input, string is completely generated by apex code and ...
1
vote
2answers
15 views

Securely Storing a static API secret/key in a Salesforce app

I recently submitted an application to the AppExchange, only to have it not pass the security check due to "Insecure Storage of Sensitive Data Vulnerability." The problem is that my app accesses an ...
3
votes
1answer
26 views

Composite App integration and “Lock sessions to the IP address from which they originated”

I have an older Composite App that uses a Web Tab for integration. It is essentially an iframe that passes the current Session ID and Server URL to an external web application in the query string. The ...
7
votes
2answers
37 views

PIN Security for a Force.com Mobile SDK App

There's a feature for PIN protection which works with Mobile SDK applications which provides an extra level of security for users. The PIN configuration is done as part of a connected app as shown ...
3
votes
1answer
43 views

How to modify custom object security

I setup a custom object (called Sensitive Documents) with a child-master relationship to the Contact object. I was hoping to control the security of my custom object independent of the parent object ...
0
votes
1answer
14 views

security scenario by using profile

I have 5 users and I have 5 accounts and related contact to account. Now I want user1 and user2 can only view account1 and account2 not any other accounts. And all other users can view all accounts. ...
1
vote
1answer
30 views

“View All Users” permission for anonymous Sites profile not visible

We see some odd differences (possibly just since the last release) in the "Administrative Permissions" section of the user profile for a Sites anonymous user (Setup > Develop > Sites > [your site] > ...
2
votes
1answer
39 views

Are security policies enforced on returned data from the API?

I'm making an application that interacts with Salesforce Rest API. When logged in as a user, I can execute SOQL on behalf of that user, for example: SELECT subject from event However, this will ...
0
votes
0answers
18 views

What events can a user see in Salesforce

When looking at the Calendar/Events page, I'm curious what events a user can see. From what I can tell, a user will see an event if: The event is assigned to them They are an invitee on the event ...
1
vote
0answers
46 views

Insufficient Privileges as System Administrator on Opportunity

I am the System Administrator (Standard Profile) and receiving Insufficient Privileges error when trying to access Opportunity fields. "Insufficient Privileges You do not have the level of access ...
1
vote
1answer
62 views

Tooling API and Scheduled Batch Apex - How to access

Without storing a users credentials to salesforce how can one access the tooling API during a daily scheduled batch? Currently we are storing the users username and password in encrypted fields but ...
1
vote
1answer
48 views

Contact visible with OWD Private even though user doesn't have access

I got a requirement that I need to soft delete the Accounts and Contacts. So only deleted records should be visible to System Admin. And also all Accounts and Contacts are shared based on role ...
1
vote
1answer
18 views

Manager Field on User object

Does the Manager Field on the User object control Security Access ? For Ex. if I setup User 1 as manager of User 2 then, would User 2 start seeing records owned by User 1 that they could not ...
3
votes
1answer
109 views

Use-Case for Encrypted Custom Fields and why are they rendered as input type=“text” and not as type=“password” on standard UI?

Can't understand why Encrypted Custom Fields are not rendered as type="password" on the standard UI. The first time you input or later if you change the content, it's just plain text. If you come back ...
4
votes
1answer
283 views

SOQL: prevent SOQL injection - best practices

I have a query string that is as follows(no bulkification required)... String qryString = 'SELECT Id FROM Contact WHERE (IsDeleted = false and Name like \'%' + searchText+ '%\')'; searchText is a ...
0
votes
0answers
24 views

How can I create support organization?

How can I create support organization? I would like to create a new organization so that the regular users can grant access to the user with delegated administration.
3
votes
1answer
22 views

Schedule removal of activated login IP & activated client browsers

I want to force users to regularly go through the SMS login activation process by clearing down the activations list in Salesforce. In the Salesforce configuration menu Setup>Security ...
5
votes
1answer
25 views

Insufficient Privileges for Public Group Memberships Page

A user is a part of multiple public groups in Salesforce and has a custom profile. When the user navigates to the personal information page and clicks on the 'Go To List' link available under the ...
1
vote
1answer
12 views

Enabling edit access to fields en mass

Is there a quick and easy way of enabling edit access to all or a selection of fields for an object for a particular profile?
2
votes
1answer
48 views

Why is Transfer Record a system permission? Is there any other way to accomplish the same thing on a per-object basis?

I have a requirement to grant a set of Users the ability to transfer ownership of all records of a certain object type, regardless of current ownership. I know I can accomplish this by granting this ...
8
votes
2answers
138 views

How do I find out if a user has access to a visualforce page through apex?

So I have a VF page that calls some other VF pages based on a button click. The button will reroute to a different VF page depending on a value within a dropdown. Sometimes the logged in user will ...
4
votes
1answer
36 views

“MyClass object = (MyClass) t.newInstance()” considered harmful

I hope this turns out to be a still unknow security flaw that will be soon fixed by Salesforce.com. From code in my managed package I was able to call the constructor of a packaged class of another ...
2
votes
2answers
118 views

How to get machine id or physical machine address in Visualforce page or in Apex?

I have been consuming SAP webservices from salesforce using callout mechanism. Currently, i am sending userid in the argument to the webservice to ensure that the call is from a valid salesforce user. ...
3
votes
1answer
108 views

Ajax call on custom component: insufficient privileges

I wrote a VisualForce page that has two drop-down lists. When the user selects an item from the first list, it makes an Ajax call to populate the second list. Everything worked great. I split the ...
8
votes
1answer
107 views

Transferring ownership of triggers, workflows, etc

My org has an account that was used by a consultant to create various apex triggers and classes, workflows, visual force and other custom development. The higher ups want to disable this now unused ...
4
votes
1answer
127 views

Authenticated Website licenses obsolete?

I have a customer who has a large volume of Authenticated Website licenses, which are used to do custom Sites logins to a fully custom website. They have been told by their sales rep that Salesforce ...
0
votes
2answers
44 views

How do I secure the Nonprofit Starter Pack from the Salesforce Foundation?

So, it appears that I did not lock-down the Nonprofit Starter Pack (NPSP) from the Salesforce Foundation (SFF) as well as I should, and attempting to avoid issues like this in the future. Looking for ...
6
votes
2answers
159 views

How to set public inline images in Knowledge Base Article

Background I'm developing an standard FAQ using Knowledge Base Articles. I've defined an Article Type FAQ which contains a Rich Text field called "Answer". The FAQ articles are exposed to an ...
4
votes
2answers
58 views

Contact visibility - what controls this

I have two users who are identical in roles, profiles, and group memberships. One can see a particular contact; the other cannot. We are set up so that Accounts have default access of "Private" and ...
3
votes
1answer
58 views

Allow User's Manager to see Private records?

I currently have a custom object which is set to private in organization-wide default sharing settings. I have created an approval process to allow managers to approve private records. When the ...
0
votes
0answers
36 views

Salesforce oauth “integration user” security

I will need to make api calls to salesforce from my external java application for which I plan to use oauth. I was going through some posts which state that one could use "integration user" like Post ...
2
votes
1answer
65 views

OAuth callback through HTTP (not SSL) is possible?

In short: I need to set a Connected App to later use OAuth Web server Flow. The callback URL should be HTTP. My web server does not have a SSL certificate and I not able to get one. But SF give me ...
2
votes
1answer
76 views

Salesforce security review process

I am planning to submit my salesforce app for security review. The app also fetches some data from an external java spring based application. The external application does not make any api call back ...
5
votes
1answer
78 views

Bug in UserRecordAccess and system.RunAs in test methods

Trying to develop some test classes around security and noticed this issue and was curious if anyone else has found this, is it a bug, and have you been able to work around it within the system.runAs ...
0
votes
1answer
36 views

Sharing cases with subset of Account contacts for Community Users

Use Case Account Contacts have a Field For Department Case OWD set to Private No Sharing Set ** Need to be able to provide access to a case created by a contact ONLY with other contacts on the ...
1
vote
0answers
29 views

Denied Persons List

Recently we were audited and our Legal findings found that we need to begin supporting the US Govt DPL List, and I was wondering if anyone here has had to deal with this list and if so what steps do I ...
1
vote
2answers
60 views

Salesforce security review

I am new to salesforce development and have a question regarding the application security review process. After the installation of my application in salesforce I want to invoke a service in my java ...
13
votes
1answer
141 views

Disable multiple username hints without disabling “Remember Username”?

In the current release, Salesforce released the multiple username hint "enhancement". This causes two showstopper issues: if a username has an apostrophe in it, the "pick a username" screen where ...
2
votes
1answer
86 views

ApexDevNet in the remote site

Just found a remote site in the Dev Org. I didn't add it before. What is the remote site "ApexDevNet" ? Can we just disable it ?
3
votes
1answer
85 views

VFRemoting escape option

We are currently looking into the best place to handle escaping (html encoding) when using VFRemoting. It had been suggested to us that using always the option {escape: true} was the best approach ...
4
votes
1answer
74 views

Communities root URL redirect issue

I have an instance which has a Sites domain, call it "sites.force.com", and a Communities domain, call it "comm.force.com". The instance has a single Community set up at a sub-folder, call it "/c1", ...
4
votes
1answer
748 views

heartbleed and its impact on salesforce

As an IT professional, I am very concerned at the news that Heartbleed can exploit weaknesses in the OpenSSL architecture. Is there any risk to users logging onto Salesforce via browser or app?
7
votes
2answers
42 views

Security Scanner not finding assertion

I have been using the Salesforce Security Scanner to scan my code: http://security.force.com/security/tools/forcecom/scanner Basically, the scan is telling me that I do not have any assert ...
2
votes
1answer
43 views

How to configure expiry of refresh tokens

I have heard that "Refresh tokens can be configured to expire in their associated Connected App by an org admin." Can anyone direct me to where in the UI this feature is available? Thanks
1
vote
1answer
85 views

Email spoofing issue from salesforce - emails not getting through to recipients

If I send emails from an email-enabled object within Salesforce, e.g., case, the emails do not always get delivered to recipients. I have discovered that one or two of the recipients have these emails ...
2
votes
1answer
77 views

Does OAuth token (from mobile SDK) still work in local browser?

I'm working on the Mobile app development. Here is my issue: We have got a token through the OAuth flow in App using SDK. There is a link in app named "user info", user tap that link and open a ...
7
votes
1answer
199 views

Field not accessible within runAs() method in Test class

I am checking for field accessibility of an User u whose Profile is p in apex Test class.To this profile field level security is set to Hidden for the field team_name__c.When I run as this user using ...
1
vote
1answer
280 views

how to share activity (edit task/event) for other users

I have contacts set to private and use sharing rules to open up access to other sales users. I have a scenario where an account executive would like to have other sales support users below them in ...
3
votes
1answer
69 views

Does CreatedById give record access?

I have a controller that currently does not specify 'with sharing'. I would like to be able to add these keywords but I don't want it to break on existing users. It's basically an aggregate report. ...