RegisterLogin  
  Search
 

HelpMaster Pro

The most flexible, template driven
helpdesk software on the market


desktop | web self service | email response management | sla escalation | active directory | knowledge base

 

You are here: Community » Discussion Board  
Minimum database permissions for HelpMaster Pro
Last Post 25 Jul 2008 12:01 AM by Rod Weir. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
NextNext
You are not authorized to post a reply.
Author Messages
Rod WeirUser is Offline
HelpMaster Pro development team
Helpdesk whiz
Helpdesk whiz
Posts:170
Points:344
Avatar

--
25 Jul 2008 12:01 AM  

Hello helpdeskers,

 

Recently we've been getting a few questions regarding the minimum database permissions that are required for using HelpMaster Pro.  Below is an updated page taken from the helpfile that explains the best way to achieve this. 

Hope this helps

Rod


Security Settings for the HelpMaster Pro database


Overview


The following information will help to configure the minimum SQL Server security settings required for your HelpMaster Pro database. Please note that the information here relates to database security, that is, the security configuration of Microsoft SQL Server - not the security model within the HelpMaster Pro.  Note also that the information offered here is just one of many different ways of configuring SQL Server security. Database security is a complex subject, and to implement a SQL Server security strategy that best suits your environment, it is highly recommended that you consult with your database administrator before and during the setup and configuration of HelpMaster Pro.

SQL Server Connection methods

 

When connecting to any Microsoft SQL Server database, there are 2 options for establishing the network connection between the client computer (the computer running HelpMaster Pro) and the database server(where SQL Server is installed). HelpMaster Pro supports both of the following options:

  1. Trusted Windows account.  

    When the trusted Windows account authentication is used, HelpMaster Pro will attempt to connect to the Microsoft SQL Server HelpMaster Pro database via the Windows account that is currently logged into the machine that HelpMaster Pro is being used on.  In order for this to be successful, the Windows account must be granted permission to SQL Server first.

  2. A specific SQL Server account and password.  

    When a specific SQL Server Account and password is used, HelpMaster Pro will attempt to connect to the Microsoft SQL Server HelpMaster Pro database via a specific account that has already been configured on the Microsoft SQL Server.  In order for this to be successful, the SQL Server account must be created within SQL Server first.

For complete information about the different types of connection methods, please refer to the Microsoft SQL Server documentation.

Administrator vs. Non administrator within HelpMaster Pro

 

Different functions within HelpMaster Pro require different database privileges. For the most part, each module of the HelpMaster Pro suite will require database privileges that include the standard database operations of reading, writing and deleting data within the tables of the database. Execute permissions on stored procedures is also required.  However, certain administrative functions such as the creating or editing of custom fields will require the removal (drop view) and creation (create view) of database views. These database operations (drop view and create view) require a higher level of database access than the more standard operations of reading and writing of data.  For this reason, it is recommended that 2 different types of SQL Server database logins are created to cater for each type of HelpMaster Pro user. It is possible to create just one account to cater for both types of logins; however this means that non-HelpMaster Pro administrators will be connecting to SQL Server with an account that has elevated database privileges that they will never use.

Configuring appropriate Security access

 

The following SQL Server 2005 scripts will create SQL Server logins for both Administrators and non-administrators of HelpMaster Pro.  These accounts are SQL Server accounts, not Windows accounts.  If you wish to use Windows authentication, you will need to configure these, and then apply the same security configuration as outlined in the scripts.  For further details about this, please refer to your database administrator.

Administrator

The following script will create a new SQL Server login the minimum database permissions required to use all features of HelpMaster Pro. This style of login should be used for an administrator of the system.

 

-- Insert the name of your HelpMaster Pro database in the line below

USE [HelpMaster Pro database name goes here]

GO

-- Create a new SQL Server login

CREATE LOGIN [HelpMaster Pro Administrator] WITH PASSWORD=N'Password goes here', DEFAULT_DATABASE=[HelpMaster Pro database name goes here], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=ON

GO

-- Now associate this new SQL Server login with a user in the HelpMaster Pro database

-- Also associate this database user with the "dbo" schema

-- The "dbo" schema contains all of the HelpMaster Pro database objects (tables, views, stored procedures etc)

CREATE USER [HelpMaster Pro Administrator] FOR LOGIN [HelpMaster Pro Administrator] WITH DEFAULT_SCHEMA=[dbo]

GO

-- Now grant the ability to "execute" the stored procedures contained within the "dbo" schema

GRANT EXECUTE ON SCHEMA::[dbo] TO [HelpMaster Pro Administrator]

GO

-- The build-in SQL Server role "db_datareader" allows logins to read data

EXEC sp_addrolemember N'db_datareader', N'HelpMaster Pro Administrator'

GO

-- The build-in SQL Server role "db_datawriter" allows logins to write data

EXEC sp_addrolemember N'db_datawriter', N'HelpMaster Pro Administrator'

GO

-- Only administrators will have this privilege.

-- This permission is required for re-creating the custom field crosstab views used by HelpMaster Pro

-- which is triggered by either updating or creating a new custom field from the System Codes screen,

-- or by updating the custom field definition of an entity via the "Administration > Custom fields" menu with HelpMaster Pro

GRANT CREATE VIEW TO [HelpMaster Pro Administrator]

 

Non-administrator

The following script will create a new SQL Server login the minimum database permissions required to use all features of HelpMaster Pro, except the administrative features of creating new custom system codes. This style of login should be used for all non-administrative users of HelpMaster Pro.

-- Insert the name of your HelpMaster Pro database in the line below

USE [HelpMaster Pro database name goes here]

GO

-- Create a new SQL Server login

CREATE LOGIN [HelpMaster Pro Administrator] WITH PASSWORD=N'Password goes here', DEFAULT_DATABASE=[HelpMaster Pro database name goes here], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=ON

GO

-- Now associate this new SQL Server login with a user in the HelpMaster Pro database

-- Also associate this database user with the "dbo" schema

-- The "dbo" schema contains all of the HelpMaster Pro database objects (tables, views, stored procedures etc)

CREATE USER [HelpMaster Pro Administrator] FOR LOGIN [HelpMaster Pro Administrator] WITH DEFAULT_SCHEMA=[dbo]

GO

-- Now grant the ability to "execute" the stored procedures contained within the "dbo" schema

GRANT EXECUTE ON SCHEMA::[dbo] TO [HelpMaster Pro Administrator]

GO

-- The build-in SQL Server role "db_datareader" allows logins to read data

EXEC sp_addrolemember N'db_datareader', N'HelpMaster Pro Administrator'

GO

-- The build-in SQL Server role "db_datawriter" allows logins to write data

EXEC sp_addrolemember N'db_datawriter', N'HelpMaster Pro Administrator'

GO

 

HelpMaster Pro development team.
Have you seen what's new in v9 yet?
You are not authorized to post a reply.

Active Forums 4.1
Latest posts
System tag for current amount of jobs in queue? by Adam Faorlin in Using HelpMaster Pro with 1 replies
Hi All, I am hoping to find a system tag for use with email templates that can show the current amount of jobs in a queue or even better, how many j...

HelpMaster Pro v9 now available by Rod Weir in Announcements with 1 replies
  PRD Software is very pleased to announce the offical release of HelpMaster Pro Version 9. Version 9 of HelpMaster Pro is a major versi...

Incident Management tips from the coal face by Beth S in ITIL Best practice - getting it to work for you with 0 replies
I have just released the December 08 PRD Insider Newsletter which starts a dicussion on some 'real life' Incident Management methods. The bulk of thes...

Auto knowledge base population / creation from an action by Rod in Wishlist with 0 replies
Just received via email... Suggested improvement from our staff.... When adding an action to a job, have option to add this action to the knowle...

Please fix these long time bugs by ZGeek in HelpMaster Pro bug? with 2 replies
Everytime I close a job in helpmaster the job browser window shrinks and I have to maximize it again. Everytime I open a new job, the details fields ...

Matching Active Directory users to HelpMaster Pro clients by Rod Weir in Active Directory with 0 replies
A while ago we received this request from a client regarding the v8 Active Directory module Hi guys, I have noticed that with the Active Directo...

Web site automatic refresh to prevent timeouts + Active Directory for Web by Rod Weir in Wishlist with 0 replies
A couple of suggestions sent in via email. Normal 0 false false false EN-AU X-NONE X-NONE ...

Priority Manager & Email Error (Error Location: clsEmail.SendEmail_Redemption at code location: 25) by helpdesk@ntsolutions.com.au in HelpMaster Pro bug? with 0 replies
We recently upgraded from Exchange 2003 to 2007 and also from Helpmaster Pro 8.0.16 to 8.0.18 and we are experiencing issues with priority manager. Th...

Editing multiple records by muser in Using HelpMaster Pro with 1 replies
I'm trying to tidy up inconsistences with our records in both the assets and clients dbs. Is tricky SQl the on the db itself the best way to handle th...

Action Template timers and auto Client ID generation ideas by Rod Weir in Wishlist with 0 replies
2 Suggestions just received via email I would like to request a user/administrator setting to ensure that the timer for action logs is switched off...

  

Latest posts including replies
RE: System tag for current amount of jobs in queue? by Rod Weir in Using HelpMaster Pro
Hi Adam, Thanks for the post and welcome to the HelpMaster Pro forum. This is a great idea. The system tag for a job queue should be a relative...

RE: Deleting system codes, issues, problems etc that are linked to jobs, clients or other entities. by Rod Weir in Using HelpMaster Pro
Still further to this issue... "Deleted" system codes can be re-activated by changing the database field "IsDeleted" from a 1 to a 0. System codes...

RE: HelpMaster Pro v9 now available by Rod Weir in Announcements
Please note that HelpMaster Pro v9 requires a new registration code. All previous registration codes (v7, 7.5, 8 etc) will not work with version 9. ...

Incident Management tips from the coal face by Beth S in ITIL Best practice - getting it to work for you
I have just released the December 08 PRD Insider Newsletter which starts a dicussion on some 'real life' Incident Management methods. The bulk of thes...

Auto knowledge base population / creation from an action by Rod in Wishlist
Just received via email... Suggested improvement from our staff.... When adding an action to a job, have option to add this action to the knowle...

RE: Please fix these long time bugs by ZGeek in HelpMaster Pro bug?
Joy!...

Matching Active Directory users to HelpMaster Pro clients by Rod Weir in Active Directory
A while ago we received this request from a client regarding the v8 Active Directory module Hi guys, I have noticed that with the Active Directo...

RE: Setting reminders for other people by Scott Ward in Wishlist
This is already possible. If you go to the links tab of a new reminder you can add other clients and\or staff. The clients are just there as a ...

RE: Active Directory module > Mappings for HMP Site by Rod Weir in Wishlist
Done. Check out the screen shot of v9.   Thanks for the great suggestion.  We're ready for the next one! ;-)   Best regards, &#...

Web site automatic refresh to prevent timeouts + Active Directory for Web by Rod Weir in Wishlist
A couple of suggestions sent in via email. Normal 0 false false false EN-AU X-NONE X-NONE ...

  

 Copyright 2008 by PRD Software Terms Of Use  |  Privacy Statement