StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Security Database preference....Expand / Collapse
Author
Message
Posted 03/11/2008 10:21:35 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 6:02:41 PM
Posts: 420, Visits: 1,727
Hi All,

I am setting up the Security Features in one of my projects and would like to know what is the preference for the Security Database to be used:

  1. Use the same database where all the project's table will be included or
  2. Use a separate database just for the security tables?

Thanks!

Edhy Rijo
Progytech (Computer Consultants)
Post #14808
Posted 03/12/2008 9:17:52 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:43:51 PM
Posts: 4,241, Visits: 4,285
This is really entirely up to you and how you plan to design your databases.  We generally include the security tables in the same database as our primary application.  We have learned that it is easier to support fewer databases in the field especially as it relates to backup, maintenance, etc.  Additionally our service staff has an easier time comprehending fewer databases when dealing with the customers in the field.  We have had good success with this approach.  Though, there are times that other databases are necessary, but the security tables can still reside in your default or primary database.  The security tables will not consume many database resources...even over the life of the application.
Post #14810
Posted 03/12/2008 11:17:26 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 6:02:41 PM
Posts: 420, Visits: 1,727
Hi Trent,

Thanks for the advice.  So far playing with both scenarios I see SF can handle them pretty well.

Edhy Rijo
Progytech (Computer Consultants)
Post #14819
Posted 03/12/2008 11:53:57 AM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 7:29:55 PM
Posts: 1,168, Visits: 2,931
An alternative point of view is to use a separate security database, which is what I've done. As always, the situation dictates the solution. I chose this route for a few reasons:

1. I didn't want to use the DDT with my app db because it couldn't import a bunch of stuff that was heavily used by the app (I think some or most of this has been added now). However, using the DDT to deploy the security tables is the way to go. So I used a separate security db to speed deployment. This was the biggest reason I used a separate security db.
2. I have lots of dbs, one for production and several for testing with users using more than one. Using a separate security db allows for single sign on (note in my case Windows security isn't a good option an most people are remote, and not logged into a domain/workgroup under our control). Of course there can be complications with this, when the security db is updated, breaking older versions of the app...but that happens infrequently (er...never so far). Usually the other way occurs where an older version of the db breaks a newer version of the app (i.e. I forget to update the security db).
3. My app is an internally used app within the company, so I'm the one supporting it. If the application was sold to customers, I'm sure I would have put the security tables in the app db, for all the reasons Trent mentioned.

This is a more complicated approach, but SF RBS handles it well. From the stand point of the framework, either approach works well using the SF RBS. Hope this provides some more information.
Post #14821
Posted 03/12/2008 12:32:40 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 6:02:41 PM
Posts: 420, Visits: 1,727
Hi Greg,

Thanks a lot for your advice.  It all makes sense, in my case this application is for a customer in which I have total control of their network since I builded for them and provide Network Administration and Support services.

I am leaning toward using a separate security database in order to have the DDT projects separate and I consider the most changes will happen on the project database than with the security database.

Edhy Rijo
Progytech (Computer Consultants)
Post #14822
Posted 03/12/2008 6:38:03 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 7:29:55 PM
Posts: 1,168, Visits: 2,931
Glad it helped!
Post #14833
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:10pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.