473,385 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Feedback? Is there interest in a PostgreSQL-based CRM suitefriendly to shared hosting?

Hi all;

This seems at least somewhat on-topic here, so at the risk of seeming
shamelessly self-promoting, I figured I would ask.

I am the main developer of an open source CRM suite
(http://hermesweb.sourceforge.net). We are in the beta-testing of our
0.3.0 release which will include experimental support for shared hosting
environments. I would be interested in helping any interested parties
beta test the software. Any feedback would also be greatly appreciated.

One of the main focuses of this upcoming version is that it will have at
least experimental support for shared hosting environments under
PostgreSQL (only). It accomplishes this by building on its portability
features. Here is the basic design and structure. Any feedback on this
part would be appreciated as well.

In order to maintain a consistent administrative interface across
database managers, my program maintains its own catalog of permissions,
group memberships etc. One of the main differences is that tables are
clustered together into modules and permissions are assigned to these
modules. This helps ensure that the permissions remain somewhat
internally consistent and that it is easy to administrate. In a
dedicated hosting environment, these permissions, when "activated" are
then translated into database permissions, and users login with their
own database accounts.

The shared hosting layer builds on the applications'
user/group/permissions catalogs and adds:

1) A function sh_authenticate(username, password) which creates a
temporary table with the authentication credentials. sh_su and
sh_revert_user are added to further manage identities.

2) Every non-catalog table has a rule which raises an exception if a
SELECT query is issued when no select permissions exist.

3) Every table has a trigger which raises an exception if insert,
update, or delete queries are run without appropriate permissions.

The advantage of this approach is that, with the exception of the
initial authentication, that the application doesn't have to know what
has changed. This also adds quite a bit of defense in depth.

However I have a few questions:

1) How effectively can triggers be applied to temporary tables? I would
like to add this to control access to the credential temporary table.

2) I am assuming that this could create a reasonable performance
overhead. But since this environment is likely to be most often used by
small-to-midsized businesses, is this likely to be a problem?

Best Wishes,
Chris Travers
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #1
0 1373

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Google Mike | last post by:
You readers in comp.lang.php may use PostgreSQL, so you might find this review useful... ISBN 0-7357-1257-3 "PostgreSQL", Copyright 2003 by Sams Publishing. Authors: Korry Douglas, Susan...
18
by: free2cric | last post by:
Hi, I attanded an interview on C++ Question asked were and my answers to them.. 1. In a CPP program what does memory leak occure? -- i said.. In a constructor , the pointer variables were...
6
by: Martijn van Oosterhout | last post by:
I've had some fun in the past where I've had to grant a lot of tables and other similar system commands. Unfortunatly, you can't use queries to fill in fields for you. Anyway, I've implemented a...
0
by: ruhunu Gamarala | last post by:
Hi, I get the following exception periodically. does anybody what is the reason for it to throw this exception? I really appriciate if anyone can help me on this. thanks, Chinthaka at...
0
by: greg | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for PostgreSQL version 7.4. The latest copy of the checksums for this and other versions, as well...
1
by: phil campaigne | last post by:
Tom Lane wrote: > phil campaigne <pcampaigne@charter.net> writes: > > >> when I login to linux and check the env's I see: >>...
0
by: Greg Sabino Mullane | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for following PostgreSQL versions: 7.4.5 7.4.4 7.3.7
9
by: gs | last post by:
the feedback for the install of c#2008 places 97 to 99% cpu load for way too long on athlon x64 3800+ PC. 3/4 an hour later its only about 80% complete, continuing with 98% CPU load! Next time...
7
by: nilgiri | last post by:
I was recruited as a software test engg in a software firm. I had/have good programming skills, know most of the programming languages.This information was also mentioned on my resume.I did my...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.