I'm in the process of designing a new database for an application. I'd like to be mindful of the security from the start (which should be the norm!). Anyone got a link to a resource describing the best way to use schemas to implement good security?
By using schemas, I mean not just dumping everything under the default dbo schema. Surely there's a schema best practises out there? Can't find it if there is...
Security Enhancements in SQL Server 2005: Schema
http://www.sql-server-performance.com/articles/dba/authorization_2005_p1.aspx
SQL Server Best Practices: User-Defined Schemas
http://blogs.msdn.com/buckwoody/archive/2009/06/18/sql-server-best-practices-user-defined-schemas.aspx
...And the obligatory MSDN reference:
http://msdn.microsoft.com/en-us/library/ms190387.aspx
Related
can anyone help me out how to create SQL database which anyone can ACCESS from over the internet ?? i m actually a beginner in DBMS..... thanks for your time!!!!
https://azure.microsoft.com/en-us/services/sql-database/
SQL Database
The intelligent relational cloud database service
Azure SQL Database is the intelligent, fully managed relational cloud database service that provides the broadest SQL Server engine compatibility, so you can migrate your SQL Server databases without changing your apps. Accelerate app development and make maintenance easy and productive using the SQL tools you love to use. Take advantage of built-in intelligence that learns app patterns and adapts to maximize performance, reliability, and data protection.
I need to create a connection between ##MongoDB## and ##SQL Server## where I want to replicate a subset of my Database from SQL Server into MongoDB. Can anyone suggest for feasibility of the same and how ?
Right now I am using symmetricDS for the replication but unable to...
Please suggest if symmetricDS is able to serve for this purpose.
Here is how you target MongoDB:
http://www.symmetricds.org/doc/3.8/html/user-guide.html#_mongodb
If you need more flexibility than straight table to table mapping, then you would write your own data loader using the MongoDatabaseWriter as a pattern.
https://github.com/JumpMind/symmetric-ds/tree/0c5cc1c24b42a64405f4b79c3cb6b594a35467f2/symmetric-client/src/main/java/org/jumpmind/symmetric/io
Got an easy way around for the Data Exchange from SQL to MongoDB using:
SQLtoMongo C# Tool
KNIME Analytics Platform (way easy to implement - Opensource)
But still looking for something with triggers to easily replicate the things.
Is there a way to enable the Spatial Extender in the Bluemix SQL Database or are there any plans to add this to the Service? I am aware that this functionality is available in the dashDB Service, however I would be interested to add geospatial queries to a standard application database that is not strongly focused on analytics and therefore the SQL Database Service seems to be a better fit.
You could use the "IBM DB2 on Cloud" service which can be fully configured to your desire. The "SQL Database" typically is a shared instance/database service and cannot be customized to an individual user.
If you are looking for a fully-managed service, then you may consider creating your tables as row based tables in dashDB (use ORGANIZED BY ROW in your create table DDL) so that it won't leverage the BLU features but will still have spatial extender.
Otherwise, as Henrik suggested, DB2 on Cloud is a good option if you like customization and don't mind the added responsibility of administrating and maintaining your database.
This is a simple question yet I was unable to find any information at all about this.
Is it possible to have sub-schemas in SQL Server 2005/2008?
Example:
Having a HR (Human Resources) schema with a sub-schema called Training (with tables related to this). It would end up like HR.Training.* where * would be the tables.
No. You could fake this with roles by putting different users into different roles and allowing those roles to use objects.
Maybe you could fake it in the naming of the schema, like HR_Training.* and HR_Reviews.* and so forth. Cheesy, I know.
Are you coming from an Oracle background by any chance ? Oracle has the concept of Schemas I believe. In SQL Server the closest equivalent is a Database.
You can cross-query from one database to another on the same SQL server very easily and that would give you virtually the same kind of calling syntax
e.g server.database.owner.object
In you case it might look like HRSvr.HR.dbo.xxx and HRSvr.Training.dbo.xxxx.
yea you can make schemas but doesn't seem like you can make sub-schemas. I come from IBM db2 background but our IT folks here don't seen to know that you can other schemas beside the default 'dbo'.
We are developing an ASP.NET application and carrying out the database design too.
Kindly let me know if you know any best reference document for SQL Server database design - best practices.
Read up on SO for normalization.
https://stackoverflow.com/questions/tagged/normalization?sort=votes
https://stackoverflow.com/search?q=[database]%20design&tab=votes