Hacker ...
A person who enjoys exploring the details of programmable systems and how to stretch their capabilities, as opposed to most users, who prefer to learn only the minimum necessary. - Jargon File


SJC Rounded Face

“The supreme accomplishment is to blur the line between work and play.” - Arnold Toynbee

I have been designing and developing computer software solutions for over 20 years. I am a Chartered IT Professional awarded by the British Computer Society and a Fellow of the Institution of Analysts and Programmers.

Currently I run my own Software Development and Computer Consultancy company. In addition I also run Arten Books which provides new and used discount books through the Amazon Marketplace.

I am a Motorcycle fan, an avid reader of sci-fi, fantasy, history, thrillers and technical books, a guitar player, a traveller and a father.

In addition I have a special interest in ancient cultures, their technologies and beliefs, such as the Egyptians, the Aztecs, the Greeks and the Romans.

In September 2009 one of my products R10Cipher: Email, Text and File Security, was shortlisted as a Finalist for the 2009 Information Security Product of the Year award.

Contact Details:
stevecholerton@mac.com

as_red_blue_tp200

Smiley Faces


rss
Subscribe

The Website Grade for www.lonelyhacker.net!

Arten Science

Twitter

Linked In


Hacker ...
A person who enjoys exploring the details of programmable systems and how to stretch their capabilities, as opposed to most users, who prefer to learn only the minimum necessary. - Jargon File


SJC Rounded Face

“The supreme accomplishment is to blur the line between work and play.” - Arnold Toynbee

I have been designing and developing computer software solutions for over 20 years. I am a Chartered IT Professional awarded by the British Computer Society and a Fellow of the Institution of Analysts and Programmers.

Currently I run my own Software Development and Computer Consultancy company. In addition I also run Arten Books which provides new and used discount books through the Amazon Marketplace.

I am a Motorcycle fan, an avid reader of sci-fi, fantasy, history, thrillers and technical books, a guitar player, a traveller and a father.

In addition I have a special interest in ancient cultures, their technologies and beliefs, such as the Egyptians, the Aztecs, the Greeks and the Romans.

In September 2009 one of my products R10Cipher: Email, Text and File Security, was shortlisted as a Finalist for the 2009 Information Security Product of the Year award.

Contact Details:
stevecholerton@mac.com

as_red_blue_tp200

Smiley Faces


rss
Subscribe

The Website Grade for www.lonelyhacker.net!

Arten Science

Twitter

Linked In


Designing a New Security / Access System

I have designed and written several Security and Access Control systems for various software products, for both in-house and commercial use. Each time I have done it differently and each one has been secure. For the Multi-User version of ContaxCRM I wanted to design a system that was not only secure bit also extremely simple.

The scenario I have looks like this: Each database user has available a list of actions that they can either be approved for, or not. See the screenshot below:

contacxrmusers0410

The question is where should I store this list of True / False fields ? For ContaxCRM what I have done is stored this data within a single VARCHAR field against the User record, in the Users table. I decided upon a format for the information as shown below:

securitystructure

A formal structure makes it easier for me to retrieve the data. The number following the ’s’ is the ID of the Security Question, the 0 or 1 represent False and True. You can see how this structure makes it easy for me to fill in the security list against each user with the correct True or False selection. The use of opening and closing tags just makes the list easy for me to Parse with existing ContaxCRM code, making development quicker and more reliable.

The final challenge is how to secure this data so that it cannot be seen and edited by anybody looking at the database with a query tool ... the answer of course is encryption. The above information when saved into the User record will look something like this:

encrypted

Any questions or comments welcome. Cheers - Steve

RSS Feed: http://feeds2.feedburner.com/Lonelyhacker

0 Comments
© 2009 Steve Cholerton Contact Me