SlideShare a Scribd company logo
1 of 19
Download to read offline
Getting Started with SalesForce CRM
Security and Data Access in SalesForce CRM
Description:
BISP is committed to provide BEST learning material to the beginners and
advance learners. In the same series, we have prepared a complete end-to
end Hands-on Beginner’s Guide for SalesForce. The document focuses on
basic keywords, terminology and definitions one should know before
starting SalesForce Join our professional training program and learn from
experts.
History:
Version Description Change Author Publish
Date
0.1 Initial Draft Chandra Prakash Sharma 10th
Nov 2013
0.1 Review#1 Amit Sharma 10th
Nov 2013
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 1
.................................................................................................................................... 2
Restrict logins.................................................................................................................3
Login hour restrictions :................................................................................................3
Login Hours :.............................................................................................................3
Restricting Login IP Addresses :....................................................................................4
Determine Object Access Security...................................................................................6
Viewing the Object Access and Field-Level Security Report :.......................................6
.................................................................................................................................. 6
Custom Object Security :..............................................................................................7
Manage record access with the role hierarchy ...............................................................8
Roles :...........................................................................................................................8
How to Set Rules :.....................................................................................................9
Permission Sets :........................................................................................................12
Exceptions ....................................................................................................................14
Manage field-level security ...........................................................................................16
For View Field level Security : .................................................................................17
Manage Field Level Security :..................................................................................18
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 2
Restrict logins
To help protect your organization’s data against unauthorized access, you have several
options for setting login restrictions.
Login hour restrictions :
If login hour restrictions are set for the user's profile, any login attempt outside the
specified hours is denied. For each profile, you can set the hours when users can log in.
Login Hours :
SalesForce provide to you Login history features, You can set login hours in
organization Start or end time .
OR
Select the days and hours that users with this profile are allowed to log in. Note that all
times are exact times specific to a time zone. Login hours will be applied at those exact
times even for users in different time zones.
How to Set Login hours :
Setup > Mange users > Profile Select profile name (Ex:- Recruiter )( which want
do you need).
After then come to down on page there is you can find Login hours. see below
Step 1 :-
After that click on Edit button. then you can see new page below.
Step 2 :-
In this page you can set Start or End time by day, After that select login hours click on
Save button.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 3
After clicking on save button you can see your login hours detail on profile page see
below.
There is you can Edit these login hours and also Delete these login hours.
Restricting Login IP Addresses :
User Permissions Needed
View login IP ranges View Setup and Configuration
Edit login IP ranges Manage Users
Delete login IP ranges Modify All Data
You can control login access on a user’s profile by specifying a range of IP addresses.
When you define IP address restrictions for a profile, any login from a restricted IP
address is denied.
How to Set Login IP Ranges :
Setup > Mange users > Profile Select profile name (Ex:- Recruiter )( which want do
you need).
After then come to down on page there is you can find Login IP Ranges . see below
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 4
Step 1 :
Click on New button for create Login IP Ranges.
Step 2 :
There is you can see two fields, Start IP Address and End IP Address, You can give IP
address, which IP address allow to user for login.
Note :-
For Single IP Address :
If you want to set single IP address, give this type.
Start IP Address 122.164.224.48 End IP Address 122.164.224.48
For One to More Range IP Address :
If you want to Set One or More Range IP address, specify like this
Start IP Address 122.164.224.48 End IP Address 122.164.224.59
After click save button then you can see your IP address on profile setting page, see
below.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 5
Determine Object Access Security
Viewing the Object Access and Field-Level Security Report :
you can also give Field-Level Security in user profile on non-editable page. Scroll down
you will find Field-Level security.
Object permissions specify the access that users have to standard and custom objects.
 Create - Users can read and create records.
 Edit - Users can read and update records.
 Read - Users can only view records of this type.
 Delete - Users can read, edit, and delete records.
There is available Standard Field Level Security, Custom Field Level Security, In
Standard Field Level Security create permission on create account by SalesForce.com.
You can change on Custom Field Level Security Click on View Link then open new page.
For Ex :- I have select Candidate Field. you can see below.
Step 1 :
Click on Edit button.
Step 2 :
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 6
There is some check box is not enable, because these check box are Mandatory
Fields.
and some check box is visible this check box Non Mandatory field.
In Non Mandatory Field you can provide permission Read-Only, Visible. you can
choose it.
Custom Object Security :
In SalesForce many security settings work together so you can control access to your
custom objects with flexibility.
Set custom object security following levels :
Tab, Object, Records, Relationship, Fields
Tab - Display the custom tab for suitable users based on their user profiles.
Object - Set the access users have to create, read, edit, and delete records for each
object.
Records - Set the default sharing model for all your users.
Relationship - For objects on the detail side of a master-detail relationship, specify
the sharing access that users must have to the master record in order to create, edit,
or delete records.
Fields - Set the level of access users have to fields on your custom object page layout.
Custom objects with no master-detail relationship :
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 7
Manage record access with the role hierarchy
Roles :
By using SalesForce.com you can Set in your organization Roles. Roles are one of the
ways you can control access to records. Set up your Role Hierarchy to control how your
organization reports on and accesses data.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 8
How to Set Rules :
Click Setup > Manage user > Rules then click on Set Up Rules button . see below.
There you can see that your organization role hierarchy , here you can Edit role ,
Delete Role and Add Role.
Edit Role :
Step 1 :
Click on Edit link for Editing role.
Step 2 :
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 9
if you need to change field's name you can do it. after that click on Save button.
Add Role :
Step 1 :
Click on Add Role link for Editing role.
Step 2 :
Fill all field's Label, Role Name, Report to then click on Save button.
After that you can see the Role Hierarchy list Manager is added.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 10
Delete Role :
By using Delete link you can delete Role in hierarchy.
Click on Del link button you can get conformation Message click ok button you can
delete Role.
Assign Role :
First you can click on Assign link .
Then select user name, After then select user name click on Add button, Then click on
Save button.
You can also Find user in available users.s
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 11
Permission Sets :
How to Set Permission :
Setup > Manage Users > Permission Sets, Click on New button.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 12
After that click on Users.
Setup > Manage Users > User, click on New User or if want to update existing user
profile click on user profile after that select Permission Set Assignments and click
on Edit Assignment button. you can see below.
After that select user permissions, then assign user permissions then click on Save
button. you can see below .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 13
Exceptions
An exception is a problem that arises during the execution of a program. An exception
can occur for many different reasons.
An exception denotes an error that disrupts the normal flow of code execution. You can
use Apex built-in exceptions or create custom exceptions. All exceptions have common
methods.
All exceptions support built-in methods for returning the error message and exception
type. In addition to the standard exception class, there are several different types of
exceptions.
Exception Description
AsyncException Any problem with an asynchronous operation, such as
failing to enqueue an asynchronous call.
CalloutException Any problem with a Web service operation, such as
failing to make a callout to an external system.
DmlException Problem with a DML statement, such as an insert
statement missing a required field on a record.
EmailException Problem with email, such as failure to deliver. For
more information, see Outbound Email.
InvalidParameterValueExce
ption
Problem with a URL. This is generally used with
VisualForce pages. For more information on
VisualForce.
JSONException Problem with JSON serialization and deserialization
operations. For more information, methods of
System.JSON, System.JSONParser, and
System.JSONGenerator.
ListException Problem with a list, such as attempting to access an
index that is out of bounds.
MathException Problem with a mathematical operation, such as
dividing by zero.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 14
NoAccessException Problem with unauthorized access, such as trying to
access an sObject that the current user does not have
access to. This is generally used with VisualForce
pages.
NoDataFoundException Problem with data that does not exist, such as trying
to access an sObject that has been deleted. This is
generally used with VisualForce pages.
NoSuchElementException Used specifically by the Iteratornext method. This
exception is thrown if you try to access items beyond
the end of the list. Ex:- if iterator.hasNext() == false
and you call iterator.next(), this exception is thrown.
NullPointerException Problem with dereferencing null, such as in the
following code:
String s; s.toLowerCase();
QueryException Problem with SOQL queries, such as assigning a query
that returns no records or more than one record to a
singleton sObject variable.
RequiredFeatureMissing A Chatter feature is required for code that has been
deployed to an organization that does not have
Chatter enabled.
SearchException Any problem with SOSL queries executed with SOAP
APIsearch() call, for example, when the searchString
parameter contains less than two characters.
SecurityException Any problem with static methods in the Crypto utility
class. For more information, see Crypto Class.
SerializationException Problem with the serialization of data. This is generally
used with VisualForce pages.
SObjectException Problem with sObject records, such as attempting to
change a field in an update statement that can only be
changed during insert.
StringException Problem with Strings, such as a String that is
exceeding your heap size.
TypeException Problem with type conversions, such as attempting to
convert the String 'a' to an Integer using the valueOf
method.
VisualforceException Problem with a VisualForce page.
XmlException Problem with the XmlStream classes, such as failing to
read or write XML.
Common Exception Methods :
Name Return Type Description
getCause Exception Returns the cause of the
exception as an exception
object.
getLineNumber Integer Returns the line number
from where the exception
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 15
was thrown.
getMessage String Returns the error message
that displays for the user.
getStackTraceString String Returns the stack trace as a
string.
getTypeName String Returns the type of
exception, such as
DmlException,
ListException,
MathException, and so on.
initCause void Sets the cause for this
exception, if one has not
already been set.
setMessage void Sets the error message that
displays for the user.
EmailException and DMLException Methods :
Name Return Type Description
getDmlFieldName
s
String [] Returns the names of the field or fields
that caused the error described by the
ith failed row.
getDmlFields Schema.sObjectField
[]
Returns the field token or tokens for the
field or fields that caused the error
described by the ith failed row. For more
information on field tokens, see
Dynamic Apex.
getDmlId String Returns the ID of the failed record that
caused the error described by the ith
failed row.
getDmlIndex Integer Returns the original row position of the
ith failed row.
getDmlMessage String Returns the user message for the ith
failed row.
getDmlStatusCod
e
String Deprecated. Use getDmlType instead.
Returns the Apex failure code for the ith
failed row.
getDmlType System.StatusCode Returns the value of the
System.StatusCode enum.
getNumDml Integer Returns the number of failed rows for
DML exceptions.
Manage field-level security
SalesForce.com provide many sections, following sections describe the characteristics
and behaviors of page layouts, mini page layouts, and field-level security.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 16
Administrators restrict users’ access to view and edit specific following fields
:
 Detail and edit pages.
 Related lists.
 List views.
 Reports.
 Connect Offline.
 Email and mail merge templates.
 Custom links.
 The partner portal.
 The SalesForce Customer Portal.
 Synchronized data.
 Imported data.
For View Field level Security :
Setup > Customize > user Page Layout, after that choose any object to apply
Field Security.
Step 1 :
Choose any link for perform
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 17
action.
Select any link and see Filed level security .
Manage Field Level Security :
Setup > Manage user > Profile, Select any profile then go to down and you can see
Field level security , click on any filed . you can see below.
Step 1 : click on Edit button.
Step 2 : check or uncheck check box for Field level security after that click on Save
button.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 18
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com
Page 19

More Related Content

What's hot

Sales force certification-lab-ii
Sales force certification-lab-iiSales force certification-lab-ii
Sales force certification-lab-iiAmit Sharma
 
Social Networking Services
Social Networking ServicesSocial Networking Services
Social Networking ServicesBoris Agranovich
 
7 best plugins to create custom word press login pages
7 best plugins to create custom word press login pages7 best plugins to create custom word press login pages
7 best plugins to create custom word press login pagesHireWPGeeks Ltd
 
Microsoft dynamics crm4 e mail router configuration scenarios
Microsoft dynamics crm4 e mail router configuration scenariosMicrosoft dynamics crm4 e mail router configuration scenarios
Microsoft dynamics crm4 e mail router configuration scenariosParuchuri Karthik
 
Magento 2 Layered Navigation Extension by ITORIS INC
Magento 2 Layered Navigation Extension by ITORIS INCMagento 2 Layered Navigation Extension by ITORIS INC
Magento 2 Layered Navigation Extension by ITORIS INCItexus LLC
 
Unit d adobe dreamweaver cs6
Unit d adobe dreamweaver cs6Unit d adobe dreamweaver cs6
Unit d adobe dreamweaver cs6Krista Lawrence
 
Creating Web Pages with Microsoft FrontPage - R.D.Sivakumar
Creating Web Pages with Microsoft FrontPage - R.D.SivakumarCreating Web Pages with Microsoft FrontPage - R.D.Sivakumar
Creating Web Pages with Microsoft FrontPage - R.D.SivakumarSivakumar R D .
 
Linked In Profile General Tips2011
Linked In Profile General Tips2011Linked In Profile General Tips2011
Linked In Profile General Tips2011MegDowney
 
WordPress SugarCRM Customer Portal Pro Plugin
WordPress SugarCRM Customer Portal Pro PluginWordPress SugarCRM Customer Portal Pro Plugin
WordPress SugarCRM Customer Portal Pro PluginBiztech Store
 
คู่มือการพัฒนา Web blog
คู่มือการพัฒนา Web blogคู่มือการพัฒนา Web blog
คู่มือการพัฒนา Web blogtitle_boy
 
Introduction, features and environment of ms front page 2003
Introduction, features and environment of ms front page 2003Introduction, features and environment of ms front page 2003
Introduction, features and environment of ms front page 2003Ann Alcid
 
Magento 2 Multiple Wishlists Extension by IToris inc.
Magento 2 Multiple Wishlists Extension by IToris inc.Magento 2 Multiple Wishlists Extension by IToris inc.
Magento 2 Multiple Wishlists Extension by IToris inc.Itexus LLC
 

What's hot (19)

Sales force certification-lab-ii
Sales force certification-lab-iiSales force certification-lab-ii
Sales force certification-lab-ii
 
Browuse Usage Guide
Browuse Usage GuideBrowuse Usage Guide
Browuse Usage Guide
 
Social Networking Services
Social Networking ServicesSocial Networking Services
Social Networking Services
 
7 best plugins to create custom word press login pages
7 best plugins to create custom word press login pages7 best plugins to create custom word press login pages
7 best plugins to create custom word press login pages
 
Microsoft FrontPage PPT
Microsoft FrontPage PPTMicrosoft FrontPage PPT
Microsoft FrontPage PPT
 
Microsoft dynamics crm4 e mail router configuration scenarios
Microsoft dynamics crm4 e mail router configuration scenariosMicrosoft dynamics crm4 e mail router configuration scenarios
Microsoft dynamics crm4 e mail router configuration scenarios
 
Magento 2 Layered Navigation Extension by ITORIS INC
Magento 2 Layered Navigation Extension by ITORIS INCMagento 2 Layered Navigation Extension by ITORIS INC
Magento 2 Layered Navigation Extension by ITORIS INC
 
Unit d adobe dreamweaver cs6
Unit d adobe dreamweaver cs6Unit d adobe dreamweaver cs6
Unit d adobe dreamweaver cs6
 
Employee Community
Employee CommunityEmployee Community
Employee Community
 
Creating Web Pages with Microsoft FrontPage - R.D.Sivakumar
Creating Web Pages with Microsoft FrontPage - R.D.SivakumarCreating Web Pages with Microsoft FrontPage - R.D.Sivakumar
Creating Web Pages with Microsoft FrontPage - R.D.Sivakumar
 
Linked In Profile General Tips2011
Linked In Profile General Tips2011Linked In Profile General Tips2011
Linked In Profile General Tips2011
 
Vbabook ed2
Vbabook ed2Vbabook ed2
Vbabook ed2
 
Dreamweaver CS3
Dreamweaver CS3Dreamweaver CS3
Dreamweaver CS3
 
WordPress SugarCRM Customer Portal Pro Plugin
WordPress SugarCRM Customer Portal Pro PluginWordPress SugarCRM Customer Portal Pro Plugin
WordPress SugarCRM Customer Portal Pro Plugin
 
MS frontpage 2003
MS frontpage 2003MS frontpage 2003
MS frontpage 2003
 
คู่มือการพัฒนา Web blog
คู่มือการพัฒนา Web blogคู่มือการพัฒนา Web blog
คู่มือการพัฒนา Web blog
 
Introduction, features and environment of ms front page 2003
Introduction, features and environment of ms front page 2003Introduction, features and environment of ms front page 2003
Introduction, features and environment of ms front page 2003
 
Working with the Latest Tendenci Modules
Working with the Latest Tendenci ModulesWorking with the Latest Tendenci Modules
Working with the Latest Tendenci Modules
 
Magento 2 Multiple Wishlists Extension by IToris inc.
Magento 2 Multiple Wishlists Extension by IToris inc.Magento 2 Multiple Wishlists Extension by IToris inc.
Magento 2 Multiple Wishlists Extension by IToris inc.
 

Viewers also liked

Hfm calculating RoA
Hfm calculating RoAHfm calculating RoA
Hfm calculating RoAAmit Sharma
 
Microsoft dynamics crm videos
Microsoft dynamics crm videosMicrosoft dynamics crm videos
Microsoft dynamics crm videosAmit Sharma
 
Customizing sales force-interface
Customizing sales force-interfaceCustomizing sales force-interface
Customizing sales force-interfaceAmit Sharma
 
Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Amit Sharma
 
Hfm rule custom consolidation
Hfm rule custom consolidationHfm rule custom consolidation
Hfm rule custom consolidationAmit Sharma
 
Salesforce interview preparation toolkit formula and validation rules in sale...
Salesforce interview preparation toolkit formula and validation rules in sale...Salesforce interview preparation toolkit formula and validation rules in sale...
Salesforce interview preparation toolkit formula and validation rules in sale...Amit Sharma
 
Bisp sales force-course-curriculumn
Bisp sales force-course-curriculumnBisp sales force-course-curriculumn
Bisp sales force-course-curriculumnAmit Sharma
 
Hyperion DRM Online Training | Oracle Hyperion DRM Online Training | Hyperion...
Hyperion DRM Online Training | Oracle Hyperion DRM Online Training | Hyperion...Hyperion DRM Online Training | Oracle Hyperion DRM Online Training | Hyperion...
Hyperion DRM Online Training | Oracle Hyperion DRM Online Training | Hyperion...Sapramsonlinetraining
 
Force.com migration utility
Force.com migration utilityForce.com migration utility
Force.com migration utilityAmit Sharma
 
TMOUG - Engineered Systems Overview
TMOUG - Engineered Systems OverviewTMOUG - Engineered Systems Overview
TMOUG - Engineered Systems OverviewMark Rabne
 
Fusion Middleware 11g Keynote Foundation For Innovation
Fusion Middleware 11g Keynote Foundation For InnovationFusion Middleware 11g Keynote Foundation For Innovation
Fusion Middleware 11g Keynote Foundation For InnovationMark Rabne
 
Sales force certification-lab
Sales force certification-labSales force certification-lab
Sales force certification-labAmit Sharma
 
Sales force certification-lab-ii
Sales force certification-lab-iiSales force certification-lab-ii
Sales force certification-lab-iiAmit Sharma
 
Oracle Database 11g Lower Your Costs
Oracle Database 11g Lower Your CostsOracle Database 11g Lower Your Costs
Oracle Database 11g Lower Your CostsMark Rabne
 
Developer’s guide for oracle data integrator
Developer’s guide for oracle data integratorDeveloper’s guide for oracle data integrator
Developer’s guide for oracle data integratorAbhishek Srivastava
 
Understanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cUnderstanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cIT Help Desk Inc
 
Oracle Database 11g Upgrade Cleveland
Oracle Database 11g Upgrade ClevelandOracle Database 11g Upgrade Cleveland
Oracle Database 11g Upgrade ClevelandMark Rabne
 

Viewers also liked (17)

Hfm calculating RoA
Hfm calculating RoAHfm calculating RoA
Hfm calculating RoA
 
Microsoft dynamics crm videos
Microsoft dynamics crm videosMicrosoft dynamics crm videos
Microsoft dynamics crm videos
 
Customizing sales force-interface
Customizing sales force-interfaceCustomizing sales force-interface
Customizing sales force-interface
 
Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1
 
Hfm rule custom consolidation
Hfm rule custom consolidationHfm rule custom consolidation
Hfm rule custom consolidation
 
Salesforce interview preparation toolkit formula and validation rules in sale...
Salesforce interview preparation toolkit formula and validation rules in sale...Salesforce interview preparation toolkit formula and validation rules in sale...
Salesforce interview preparation toolkit formula and validation rules in sale...
 
Bisp sales force-course-curriculumn
Bisp sales force-course-curriculumnBisp sales force-course-curriculumn
Bisp sales force-course-curriculumn
 
Hyperion DRM Online Training | Oracle Hyperion DRM Online Training | Hyperion...
Hyperion DRM Online Training | Oracle Hyperion DRM Online Training | Hyperion...Hyperion DRM Online Training | Oracle Hyperion DRM Online Training | Hyperion...
Hyperion DRM Online Training | Oracle Hyperion DRM Online Training | Hyperion...
 
Force.com migration utility
Force.com migration utilityForce.com migration utility
Force.com migration utility
 
TMOUG - Engineered Systems Overview
TMOUG - Engineered Systems OverviewTMOUG - Engineered Systems Overview
TMOUG - Engineered Systems Overview
 
Fusion Middleware 11g Keynote Foundation For Innovation
Fusion Middleware 11g Keynote Foundation For InnovationFusion Middleware 11g Keynote Foundation For Innovation
Fusion Middleware 11g Keynote Foundation For Innovation
 
Sales force certification-lab
Sales force certification-labSales force certification-lab
Sales force certification-lab
 
Sales force certification-lab-ii
Sales force certification-lab-iiSales force certification-lab-ii
Sales force certification-lab-ii
 
Oracle Database 11g Lower Your Costs
Oracle Database 11g Lower Your CostsOracle Database 11g Lower Your Costs
Oracle Database 11g Lower Your Costs
 
Developer’s guide for oracle data integrator
Developer’s guide for oracle data integratorDeveloper’s guide for oracle data integrator
Developer’s guide for oracle data integrator
 
Understanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cUnderstanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12c
 
Oracle Database 11g Upgrade Cleveland
Oracle Database 11g Upgrade ClevelandOracle Database 11g Upgrade Cleveland
Oracle Database 11g Upgrade Cleveland
 

Similar to Security and-data-access-document

Salesforce admin training 2
Salesforce admin training 2Salesforce admin training 2
Salesforce admin training 2HungPham381
 
Cairo meetup low code best practices
Cairo meetup low code best practicesCairo meetup low code best practices
Cairo meetup low code best practicesAhmed Keshk
 
SOP_ERP_AdministrationModule
SOP_ERP_AdministrationModuleSOP_ERP_AdministrationModule
SOP_ERP_AdministrationModuleSunil Mukadam
 
Alfresco : Implementing Membership and Security
Alfresco  : Implementing Membership and Security	Alfresco  : Implementing Membership and Security
Alfresco : Implementing Membership and Security Wildan Maulana
 
183201019 sales force-class-6
183201019 sales force-class-6183201019 sales force-class-6
183201019 sales force-class-6Amit Sharma
 
Salesforce Winter ’23 Release Highlights
Salesforce Winter ’23 Release HighlightsSalesforce Winter ’23 Release Highlights
Salesforce Winter ’23 Release HighlightsSkyPlanner
 
Sap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-iSap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-iAmit Sharma
 
5 User Mgmt in Drupal
5 User Mgmt in Drupal5 User Mgmt in Drupal
5 User Mgmt in DrupalWingston
 
Salesforce Summer ’22 Release Notes - Highlights
Salesforce Summer ’22 Release Notes - HighlightsSalesforce Summer ’22 Release Notes - Highlights
Salesforce Summer ’22 Release Notes - HighlightsSkyPlanner
 
Marketo Administration Instructions
Marketo Administration InstructionsMarketo Administration Instructions
Marketo Administration InstructionsJosh Hill
 
Mr20 enus 14-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 14-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 14-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 14-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Sami JAMMALI
 
Profiles and permission sets in salesforce
Profiles and permission sets in salesforceProfiles and permission sets in salesforce
Profiles and permission sets in salesforceSunil kumar
 
183207316 sales force-class-14
183207316 sales force-class-14183207316 sales force-class-14
183207316 sales force-class-14Amit Sharma
 
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records vraopolisetti
 
Sap bo-universe-design-beginner-s-guide-part-i
Sap bo-universe-design-beginner-s-guide-part-iSap bo-universe-design-beginner-s-guide-part-i
Sap bo-universe-design-beginner-s-guide-part-iAmit Sharma
 
Salesforce Winter ’22 Release Highlights
Salesforce Winter ’22 Release HighlightsSalesforce Winter ’22 Release Highlights
Salesforce Winter ’22 Release HighlightsSkyPlanner
 
Salesforce Winter ’22 Release Highlights
Salesforce Winter ’22 Release HighlightsSalesforce Winter ’22 Release Highlights
Salesforce Winter ’22 Release HighlightsSkyPlanner
 
Profiles and permission sets
Profiles and permission setsProfiles and permission sets
Profiles and permission setsVishesh Singhal
 
Best Practices for Security in Microsoft SharePoint 2013
Best Practices for Security in Microsoft SharePoint 2013Best Practices for Security in Microsoft SharePoint 2013
Best Practices for Security in Microsoft SharePoint 2013AntonioMaio2
 

Similar to Security and-data-access-document (20)

Salesforce admin training 2
Salesforce admin training 2Salesforce admin training 2
Salesforce admin training 2
 
Cairo meetup low code best practices
Cairo meetup low code best practicesCairo meetup low code best practices
Cairo meetup low code best practices
 
SOP_ERP_AdministrationModule
SOP_ERP_AdministrationModuleSOP_ERP_AdministrationModule
SOP_ERP_AdministrationModule
 
Alfresco : Implementing Membership and Security
Alfresco  : Implementing Membership and Security	Alfresco  : Implementing Membership and Security
Alfresco : Implementing Membership and Security
 
183201019 sales force-class-6
183201019 sales force-class-6183201019 sales force-class-6
183201019 sales force-class-6
 
Salesforce Winter ’23 Release Highlights
Salesforce Winter ’23 Release HighlightsSalesforce Winter ’23 Release Highlights
Salesforce Winter ’23 Release Highlights
 
Sap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-iSap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-i
 
5 User Mgmt in Drupal
5 User Mgmt in Drupal5 User Mgmt in Drupal
5 User Mgmt in Drupal
 
Salesforce Summer ’22 Release Notes - Highlights
Salesforce Summer ’22 Release Notes - HighlightsSalesforce Summer ’22 Release Notes - Highlights
Salesforce Summer ’22 Release Notes - Highlights
 
Marketo Administration Instructions
Marketo Administration InstructionsMarketo Administration Instructions
Marketo Administration Instructions
 
Mr20 enus 14-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 14-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 14-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 14-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
Profiles and permission sets in salesforce
Profiles and permission sets in salesforceProfiles and permission sets in salesforce
Profiles and permission sets in salesforce
 
183207316 sales force-class-14
183207316 sales force-class-14183207316 sales force-class-14
183207316 sales force-class-14
 
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
 
Sap bo-universe-design-beginner-s-guide-part-i
Sap bo-universe-design-beginner-s-guide-part-iSap bo-universe-design-beginner-s-guide-part-i
Sap bo-universe-design-beginner-s-guide-part-i
 
Salesforce Winter ’22 Release Highlights
Salesforce Winter ’22 Release HighlightsSalesforce Winter ’22 Release Highlights
Salesforce Winter ’22 Release Highlights
 
Salesforce Winter ’22 Release Highlights
Salesforce Winter ’22 Release HighlightsSalesforce Winter ’22 Release Highlights
Salesforce Winter ’22 Release Highlights
 
Profiles and permission sets
Profiles and permission setsProfiles and permission sets
Profiles and permission sets
 
SRS Document For Instagram
SRS Document For InstagramSRS Document For Instagram
SRS Document For Instagram
 
Best Practices for Security in Microsoft SharePoint 2013
Best Practices for Security in Microsoft SharePoint 2013Best Practices for Security in Microsoft SharePoint 2013
Best Practices for Security in Microsoft SharePoint 2013
 

More from Amit Sharma

Oracle enteprise pbcs drivers and assumptions
Oracle enteprise pbcs drivers and assumptionsOracle enteprise pbcs drivers and assumptions
Oracle enteprise pbcs drivers and assumptionsAmit Sharma
 
Oracle EPBCS Driver
Oracle EPBCS Driver Oracle EPBCS Driver
Oracle EPBCS Driver Amit Sharma
 
Oracle Sales Quotation Planning
Oracle Sales Quotation PlanningOracle Sales Quotation Planning
Oracle Sales Quotation PlanningAmit Sharma
 
Oracle strategic workforce planning cloud hcmswp converted
Oracle strategic workforce planning cloud hcmswp convertedOracle strategic workforce planning cloud hcmswp converted
Oracle strategic workforce planning cloud hcmswp convertedAmit Sharma
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examplesAmit Sharma
 
Oracle PBCS creating standard application
Oracle PBCS creating  standard applicationOracle PBCS creating  standard application
Oracle PBCS creating standard applicationAmit Sharma
 
Adding metadata using smartview
Adding metadata using smartviewAdding metadata using smartview
Adding metadata using smartviewAmit Sharma
 
Hyperion planning weekly distribution
Hyperion planning weekly distributionHyperion planning weekly distribution
Hyperion planning weekly distributionAmit Sharma
 
Hyperion planning scheduling data import
Hyperion planning scheduling data importHyperion planning scheduling data import
Hyperion planning scheduling data importAmit Sharma
 
Hyperion planning new features
Hyperion planning new featuresHyperion planning new features
Hyperion planning new featuresAmit Sharma
 
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Amit Sharma
 
Apex code-fundamentals
Apex code-fundamentalsApex code-fundamentals
Apex code-fundamentalsAmit Sharma
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migrationAmit Sharma
 
Visualforce controllers
Visualforce controllersVisualforce controllers
Visualforce controllersAmit Sharma
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migrationAmit Sharma
 

More from Amit Sharma (16)

Oracle enteprise pbcs drivers and assumptions
Oracle enteprise pbcs drivers and assumptionsOracle enteprise pbcs drivers and assumptions
Oracle enteprise pbcs drivers and assumptions
 
Oracle EPBCS Driver
Oracle EPBCS Driver Oracle EPBCS Driver
Oracle EPBCS Driver
 
Oracle Sales Quotation Planning
Oracle Sales Quotation PlanningOracle Sales Quotation Planning
Oracle Sales Quotation Planning
 
Oracle strategic workforce planning cloud hcmswp converted
Oracle strategic workforce planning cloud hcmswp convertedOracle strategic workforce planning cloud hcmswp converted
Oracle strategic workforce planning cloud hcmswp converted
 
Basics of fdmee
Basics of fdmeeBasics of fdmee
Basics of fdmee
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examples
 
Oracle PBCS creating standard application
Oracle PBCS creating  standard applicationOracle PBCS creating  standard application
Oracle PBCS creating standard application
 
Adding metadata using smartview
Adding metadata using smartviewAdding metadata using smartview
Adding metadata using smartview
 
Hyperion planning weekly distribution
Hyperion planning weekly distributionHyperion planning weekly distribution
Hyperion planning weekly distribution
 
Hyperion planning scheduling data import
Hyperion planning scheduling data importHyperion planning scheduling data import
Hyperion planning scheduling data import
 
Hyperion planning new features
Hyperion planning new featuresHyperion planning new features
Hyperion planning new features
 
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
 
Apex code-fundamentals
Apex code-fundamentalsApex code-fundamentals
Apex code-fundamentals
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migration
 
Visualforce controllers
Visualforce controllersVisualforce controllers
Visualforce controllers
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migration
 

Security and-data-access-document

  • 1. Getting Started with SalesForce CRM Security and Data Access in SalesForce CRM Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginner’s Guide for SalesForce. The document focuses on basic keywords, terminology and definitions one should know before starting SalesForce Join our professional training program and learn from experts. History: Version Description Change Author Publish Date 0.1 Initial Draft Chandra Prakash Sharma 10th Nov 2013 0.1 Review#1 Amit Sharma 10th Nov 2013 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 1
  • 2. .................................................................................................................................... 2 Restrict logins.................................................................................................................3 Login hour restrictions :................................................................................................3 Login Hours :.............................................................................................................3 Restricting Login IP Addresses :....................................................................................4 Determine Object Access Security...................................................................................6 Viewing the Object Access and Field-Level Security Report :.......................................6 .................................................................................................................................. 6 Custom Object Security :..............................................................................................7 Manage record access with the role hierarchy ...............................................................8 Roles :...........................................................................................................................8 How to Set Rules :.....................................................................................................9 Permission Sets :........................................................................................................12 Exceptions ....................................................................................................................14 Manage field-level security ...........................................................................................16 For View Field level Security : .................................................................................17 Manage Field Level Security :..................................................................................18 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 2
  • 3. Restrict logins To help protect your organization’s data against unauthorized access, you have several options for setting login restrictions. Login hour restrictions : If login hour restrictions are set for the user's profile, any login attempt outside the specified hours is denied. For each profile, you can set the hours when users can log in. Login Hours : SalesForce provide to you Login history features, You can set login hours in organization Start or end time . OR Select the days and hours that users with this profile are allowed to log in. Note that all times are exact times specific to a time zone. Login hours will be applied at those exact times even for users in different time zones. How to Set Login hours : Setup > Mange users > Profile Select profile name (Ex:- Recruiter )( which want do you need). After then come to down on page there is you can find Login hours. see below Step 1 :- After that click on Edit button. then you can see new page below. Step 2 :- In this page you can set Start or End time by day, After that select login hours click on Save button. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 3
  • 4. After clicking on save button you can see your login hours detail on profile page see below. There is you can Edit these login hours and also Delete these login hours. Restricting Login IP Addresses : User Permissions Needed View login IP ranges View Setup and Configuration Edit login IP ranges Manage Users Delete login IP ranges Modify All Data You can control login access on a user’s profile by specifying a range of IP addresses. When you define IP address restrictions for a profile, any login from a restricted IP address is denied. How to Set Login IP Ranges : Setup > Mange users > Profile Select profile name (Ex:- Recruiter )( which want do you need). After then come to down on page there is you can find Login IP Ranges . see below www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 4
  • 5. Step 1 : Click on New button for create Login IP Ranges. Step 2 : There is you can see two fields, Start IP Address and End IP Address, You can give IP address, which IP address allow to user for login. Note :- For Single IP Address : If you want to set single IP address, give this type. Start IP Address 122.164.224.48 End IP Address 122.164.224.48 For One to More Range IP Address : If you want to Set One or More Range IP address, specify like this Start IP Address 122.164.224.48 End IP Address 122.164.224.59 After click save button then you can see your IP address on profile setting page, see below. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 5
  • 6. Determine Object Access Security Viewing the Object Access and Field-Level Security Report : you can also give Field-Level Security in user profile on non-editable page. Scroll down you will find Field-Level security. Object permissions specify the access that users have to standard and custom objects.  Create - Users can read and create records.  Edit - Users can read and update records.  Read - Users can only view records of this type.  Delete - Users can read, edit, and delete records. There is available Standard Field Level Security, Custom Field Level Security, In Standard Field Level Security create permission on create account by SalesForce.com. You can change on Custom Field Level Security Click on View Link then open new page. For Ex :- I have select Candidate Field. you can see below. Step 1 : Click on Edit button. Step 2 : www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 6
  • 7. There is some check box is not enable, because these check box are Mandatory Fields. and some check box is visible this check box Non Mandatory field. In Non Mandatory Field you can provide permission Read-Only, Visible. you can choose it. Custom Object Security : In SalesForce many security settings work together so you can control access to your custom objects with flexibility. Set custom object security following levels : Tab, Object, Records, Relationship, Fields Tab - Display the custom tab for suitable users based on their user profiles. Object - Set the access users have to create, read, edit, and delete records for each object. Records - Set the default sharing model for all your users. Relationship - For objects on the detail side of a master-detail relationship, specify the sharing access that users must have to the master record in order to create, edit, or delete records. Fields - Set the level of access users have to fields on your custom object page layout. Custom objects with no master-detail relationship : www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 7
  • 8. Manage record access with the role hierarchy Roles : By using SalesForce.com you can Set in your organization Roles. Roles are one of the ways you can control access to records. Set up your Role Hierarchy to control how your organization reports on and accesses data. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 8
  • 9. How to Set Rules : Click Setup > Manage user > Rules then click on Set Up Rules button . see below. There you can see that your organization role hierarchy , here you can Edit role , Delete Role and Add Role. Edit Role : Step 1 : Click on Edit link for Editing role. Step 2 : www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 9
  • 10. if you need to change field's name you can do it. after that click on Save button. Add Role : Step 1 : Click on Add Role link for Editing role. Step 2 : Fill all field's Label, Role Name, Report to then click on Save button. After that you can see the Role Hierarchy list Manager is added. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 10
  • 11. Delete Role : By using Delete link you can delete Role in hierarchy. Click on Del link button you can get conformation Message click ok button you can delete Role. Assign Role : First you can click on Assign link . Then select user name, After then select user name click on Add button, Then click on Save button. You can also Find user in available users.s www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 11
  • 12. Permission Sets : How to Set Permission : Setup > Manage Users > Permission Sets, Click on New button. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 12
  • 13. After that click on Users. Setup > Manage Users > User, click on New User or if want to update existing user profile click on user profile after that select Permission Set Assignments and click on Edit Assignment button. you can see below. After that select user permissions, then assign user permissions then click on Save button. you can see below . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 13
  • 14. Exceptions An exception is a problem that arises during the execution of a program. An exception can occur for many different reasons. An exception denotes an error that disrupts the normal flow of code execution. You can use Apex built-in exceptions or create custom exceptions. All exceptions have common methods. All exceptions support built-in methods for returning the error message and exception type. In addition to the standard exception class, there are several different types of exceptions. Exception Description AsyncException Any problem with an asynchronous operation, such as failing to enqueue an asynchronous call. CalloutException Any problem with a Web service operation, such as failing to make a callout to an external system. DmlException Problem with a DML statement, such as an insert statement missing a required field on a record. EmailException Problem with email, such as failure to deliver. For more information, see Outbound Email. InvalidParameterValueExce ption Problem with a URL. This is generally used with VisualForce pages. For more information on VisualForce. JSONException Problem with JSON serialization and deserialization operations. For more information, methods of System.JSON, System.JSONParser, and System.JSONGenerator. ListException Problem with a list, such as attempting to access an index that is out of bounds. MathException Problem with a mathematical operation, such as dividing by zero. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 14
  • 15. NoAccessException Problem with unauthorized access, such as trying to access an sObject that the current user does not have access to. This is generally used with VisualForce pages. NoDataFoundException Problem with data that does not exist, such as trying to access an sObject that has been deleted. This is generally used with VisualForce pages. NoSuchElementException Used specifically by the Iteratornext method. This exception is thrown if you try to access items beyond the end of the list. Ex:- if iterator.hasNext() == false and you call iterator.next(), this exception is thrown. NullPointerException Problem with dereferencing null, such as in the following code: String s; s.toLowerCase(); QueryException Problem with SOQL queries, such as assigning a query that returns no records or more than one record to a singleton sObject variable. RequiredFeatureMissing A Chatter feature is required for code that has been deployed to an organization that does not have Chatter enabled. SearchException Any problem with SOSL queries executed with SOAP APIsearch() call, for example, when the searchString parameter contains less than two characters. SecurityException Any problem with static methods in the Crypto utility class. For more information, see Crypto Class. SerializationException Problem with the serialization of data. This is generally used with VisualForce pages. SObjectException Problem with sObject records, such as attempting to change a field in an update statement that can only be changed during insert. StringException Problem with Strings, such as a String that is exceeding your heap size. TypeException Problem with type conversions, such as attempting to convert the String 'a' to an Integer using the valueOf method. VisualforceException Problem with a VisualForce page. XmlException Problem with the XmlStream classes, such as failing to read or write XML. Common Exception Methods : Name Return Type Description getCause Exception Returns the cause of the exception as an exception object. getLineNumber Integer Returns the line number from where the exception www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 15
  • 16. was thrown. getMessage String Returns the error message that displays for the user. getStackTraceString String Returns the stack trace as a string. getTypeName String Returns the type of exception, such as DmlException, ListException, MathException, and so on. initCause void Sets the cause for this exception, if one has not already been set. setMessage void Sets the error message that displays for the user. EmailException and DMLException Methods : Name Return Type Description getDmlFieldName s String [] Returns the names of the field or fields that caused the error described by the ith failed row. getDmlFields Schema.sObjectField [] Returns the field token or tokens for the field or fields that caused the error described by the ith failed row. For more information on field tokens, see Dynamic Apex. getDmlId String Returns the ID of the failed record that caused the error described by the ith failed row. getDmlIndex Integer Returns the original row position of the ith failed row. getDmlMessage String Returns the user message for the ith failed row. getDmlStatusCod e String Deprecated. Use getDmlType instead. Returns the Apex failure code for the ith failed row. getDmlType System.StatusCode Returns the value of the System.StatusCode enum. getNumDml Integer Returns the number of failed rows for DML exceptions. Manage field-level security SalesForce.com provide many sections, following sections describe the characteristics and behaviors of page layouts, mini page layouts, and field-level security. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 16
  • 17. Administrators restrict users’ access to view and edit specific following fields :  Detail and edit pages.  Related lists.  List views.  Reports.  Connect Offline.  Email and mail merge templates.  Custom links.  The partner portal.  The SalesForce Customer Portal.  Synchronized data.  Imported data. For View Field level Security : Setup > Customize > user Page Layout, after that choose any object to apply Field Security. Step 1 : Choose any link for perform www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 17
  • 18. action. Select any link and see Filed level security . Manage Field Level Security : Setup > Manage user > Profile, Select any profile then go to down and you can see Field level security , click on any filed . you can see below. Step 1 : click on Edit button. Step 2 : check or uncheck check box for Field level security after that click on Save button. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 18