Showing posts with label installed. Show all posts
Showing posts with label installed. Show all posts

Monday, March 26, 2012

Encryption not enabled on Server

Trying to get5 SSL work between SQL server and Query Analyzer. I have enable
d
encryption on the Query Analyzer client and installed a certificate on SQL
server,
When I connect from QA, i get a message saying "Encrytion not supported on
SQL server".
I enabled "Force Protocol Encryption" on Server and disable encryption on
client.
Now SQL server lwon't start and log says "Encryption requested but no valid
certificate was found. SQL Server terminating."
I used MMC to install certificate on SQL server, on Windows 2000 Pro.
What is the correct way to install a valid cert on SQL 2000 server?Follow the steps here;
276553 HOW TO: Enable SSL Encryption for SQL Server 2000 with Certificate
Server
http://support.microsoft.com/?id=276553
If you have Active Directory then
316898 How to enable SSL encryption for SQL Server 2000 with Microsoft
http://support.microsoft.com/?id=316898
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

Encryption not enabled on Server

Trying to get5 SSL work between SQL server and Query Analyzer. I have enabled
encryption on the Query Analyzer client and installed a certificate on SQL
server,
When I connect from QA, i get a message saying "Encrytion not supported on
SQL server".
I enabled "Force Protocol Encryption" on Server and disable encryption on
client.
Now SQL server lwon't start and log says "Encryption requested but no valid
certificate was found. SQL Server terminating."
I used MMC to install certificate on SQL server, on Windows 2000 Pro.
What is the correct way to install a valid cert on SQL 2000 server?
Follow the steps here;
276553 HOW TO: Enable SSL Encryption for SQL Server 2000 with Certificate
Server
http://support.microsoft.com/?id=276553
If you have Active Directory then
316898 How to enable SSL encryption for SQL Server 2000 with Microsoft
http://support.microsoft.com/?id=316898
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

Thursday, March 22, 2012

Encryption and SSL Question

I am running MS 2003 Server with SQL Server 2000 including SP4 which I
installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent to
my question...
I am designing a web-page which sits behind an SSL...how do I encrypt my
data...i am accepting credit card and banking account information on this
page and then want to have a secure email sent to my outlook....so really
two questions here..
1. how do I encrypt data?
2. how do I send secure and/or encrypted email?
thanks
Doesn't sound like it's a SQL Server issue here.
With SQL Server 2000, you'll need a 3rd party solution (Protegrity seems to
be a popular one) to encrypt data inside the database. SQL Server 2005 will
have encryption capabilities built in.
Network packet encryption is a "turn on/off" switch from the network
configuration utility.
Encrypting emails and SSL are not really tied to the database.
Did I misunderstand your question?
joe.
"SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
news:F7988D30-6E33-4E8C-AEE5-A0031952AE43@.microsoft.com...
>I am running MS 2003 Server with SQL Server 2000 including SP4 which I
> installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
> SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent
> to
> my question...
> I am designing a web-page which sits behind an SSL...how do I encrypt my
> data...i am accepting credit card and banking account information on this
> page and then want to have a secure email sent to my outlook....so really
> two questions here..
> 1. how do I encrypt data?
> 2. how do I send secure and/or encrypted email?
> thanks
|||Joe,
Thanks for your response...
I was told from a developer that I can build a SQL database and the contents
inside could be encrypted. I am looking for the 'easiest, cheapest, safest'
way to store banking information from my web-page into the db.
I should have made the email portion separate also. On that note, I would
like to write a stored procedure or use SQL-NS to tell me that a a'payment'
has been made and then an email (secure using TLS, or TSL?) could be sent
out. does that make sense?
thanks for your help
"Joe Yong" wrote:

> Doesn't sound like it's a SQL Server issue here.
> With SQL Server 2000, you'll need a 3rd party solution (Protegrity seems to
> be a popular one) to encrypt data inside the database. SQL Server 2005 will
> have encryption capabilities built in.
> Network packet encryption is a "turn on/off" switch from the network
> configuration utility.
> Encrypting emails and SSL are not really tied to the database.
> Did I misunderstand your question?
>
> joe.
>
> "SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
> news:F7988D30-6E33-4E8C-AEE5-A0031952AE43@.microsoft.com...
>
>
|||Hi
SQL Server 2000 will not encrypt it. You would have to do it in code.
SQL Server 2005 (in Beta) supports column level encryption.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
news:512AED76-DB94-45EB-AC6A-C1BD46A40642@.microsoft.com...[vbcol=seagreen]
> Joe,
> Thanks for your response...
> I was told from a developer that I can build a SQL database and the
> contents
> inside could be encrypted. I am looking for the 'easiest, cheapest,
> safest'
> way to store banking information from my web-page into the db.
> I should have made the email portion separate also. On that note, I would
> like to write a stored procedure or use SQL-NS to tell me that a
> a'payment'
> has been made and then an email (secure using TLS, or TSL?) could be sent
> out. does that make sense?
> thanks for your help
> "Joe Yong" wrote:
|||You could use the encryption native to Windows to encrypt the FILE on disk
but it won't stop anyone from viewing the data if they get access to your
database. It only comes in handy if someone gets hold of the file. You will
need to encrypt the file using the account that runs SQL Server.
"SQL Brad" wrote:
[vbcol=seagreen]
> Joe,
> Thanks for your response...
> I was told from a developer that I can build a SQL database and the contents
> inside could be encrypted. I am looking for the 'easiest, cheapest, safest'
> way to store banking information from my web-page into the db.
> I should have made the email portion separate also. On that note, I would
> like to write a stored procedure or use SQL-NS to tell me that a a'payment'
> has been made and then an email (secure using TLS, or TSL?) could be sent
> out. does that make sense?
> thanks for your help
> "Joe Yong" wrote:
sql

Encryption and SSL Question

I am running MS 2003 Server with SQL Server 2000 including SP4 which I
installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent to
my question...
I am designing a web-page which sits behind an SSL...how do I encrypt my
data...i am accepting credit card and banking account information on this
page and then want to have a secure email sent to my outlook....so really
two questions here..
1. how do I encrypt data?
2. how do I send secure and/or encrypted email?
thanksDoesn't sound like it's a SQL Server issue here.
With SQL Server 2000, you'll need a 3rd party solution (Protegrity seems to
be a popular one) to encrypt data inside the database. SQL Server 2005 will
have encryption capabilities built in.
Network packet encryption is a "turn on/off" switch from the network
configuration utility.
Encrypting emails and SSL are not really tied to the database.
Did I misunderstand your question?
joe.
"SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
news:F7988D30-6E33-4E8C-AEE5-A0031952AE43@.microsoft.com...
>I am running MS 2003 Server with SQL Server 2000 including SP4 which I
> installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
> SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent
> to
> my question...
> I am designing a web-page which sits behind an SSL...how do I encrypt my
> data...i am accepting credit card and banking account information on this
> page and then want to have a secure email sent to my outlook....so really
> two questions here..
> 1. how do I encrypt data?
> 2. how do I send secure and/or encrypted email?
> thanks|||Joe,
Thanks for your response...
I was told from a developer that I can build a SQL database and the contents
inside could be encrypted. I am looking for the 'easiest, cheapest, safest'
way to store banking information from my web-page into the db.
I should have made the email portion separate also. On that note, I would
like to write a stored procedure or use SQL-NS to tell me that a a'payment'
has been made and then an email (secure using TLS, or TSL') could be sent
out. does that make sense?
thanks for your help
"Joe Yong" wrote:

> Doesn't sound like it's a SQL Server issue here.
> With SQL Server 2000, you'll need a 3rd party solution (Protegrity seems t
o
> be a popular one) to encrypt data inside the database. SQL Server 2005 wil
l
> have encryption capabilities built in.
> Network packet encryption is a "turn on/off" switch from the network
> configuration utility.
> Encrypting emails and SSL are not really tied to the database.
> Did I misunderstand your question?
>
> joe.
>
> "SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
> news:F7988D30-6E33-4E8C-AEE5-A0031952AE43@.microsoft.com...
>
>|||Hi
SQL Server 2000 will not encrypt it. You would have to do it in code.
SQL Server 2005 (in Beta) supports column level encryption.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
news:512AED76-DB94-45EB-AC6A-C1BD46A40642@.microsoft.com...[vbcol=seagreen]
> Joe,
> Thanks for your response...
> I was told from a developer that I can build a SQL database and the
> contents
> inside could be encrypted. I am looking for the 'easiest, cheapest,
> safest'
> way to store banking information from my web-page into the db.
> I should have made the email portion separate also. On that note, I would
> like to write a stored procedure or use SQL-NS to tell me that a
> a'payment'
> has been made and then an email (secure using TLS, or TSL') could be sent
> out. does that make sense?
> thanks for your help
> "Joe Yong" wrote:
>|||You could use the encryption native to Windows to encrypt the FILE on disk
but it won't stop anyone from viewing the data if they get access to your
database. It only comes in handy if someone gets hold of the file. You will
need to encrypt the file using the account that runs SQL Server.
"SQL Brad" wrote:
[vbcol=seagreen]
> Joe,
> Thanks for your response...
> I was told from a developer that I can build a SQL database and the conten
ts
> inside could be encrypted. I am looking for the 'easiest, cheapest, safes
t'
> way to store banking information from my web-page into the db.
> I should have made the email portion separate also. On that note, I would
> like to write a stored procedure or use SQL-NS to tell me that a a'payment
'
> has been made and then an email (secure using TLS, or TSL') could be sent
> out. does that make sense?
> thanks for your help
> "Joe Yong" wrote:
>

Encryption and SSL Question

I am running MS 2003 Server with SQL Server 2000 including SP4 which I
installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent to
my question...
I am designing a web-page which sits behind an SSL...how do I encrypt my
data...i am accepting credit card and banking account information on this
page and then want to have a secure email sent to my outlook....so really
two questions here..
1. how do I encrypt data?
2. how do I send secure and/or encrypted email?
thanksDoesn't sound like it's a SQL Server issue here.
With SQL Server 2000, you'll need a 3rd party solution (Protegrity seems to
be a popular one) to encrypt data inside the database. SQL Server 2005 will
have encryption capabilities built in.
Network packet encryption is a "turn on/off" switch from the network
configuration utility.
Encrypting emails and SSL are not really tied to the database.
Did I misunderstand your question?
joe.
"SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
news:F7988D30-6E33-4E8C-AEE5-A0031952AE43@.microsoft.com...
>I am running MS 2003 Server with SQL Server 2000 including SP4 which I
> installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
> SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent
> to
> my question...
> I am designing a web-page which sits behind an SSL...how do I encrypt my
> data...i am accepting credit card and banking account information on this
> page and then want to have a secure email sent to my outlook....so really
> two questions here..
> 1. how do I encrypt data?
> 2. how do I send secure and/or encrypted email?
> thanks|||Joe,
Thanks for your response...
I was told from a developer that I can build a SQL database and the contents
inside could be encrypted. I am looking for the 'easiest, cheapest, safest'
way to store banking information from my web-page into the db.
I should have made the email portion separate also. On that note, I would
like to write a stored procedure or use SQL-NS to tell me that a a'payment'
has been made and then an email (secure using TLS, or TSL') could be sent
out. does that make sense?
thanks for your help
"Joe Yong" wrote:
> Doesn't sound like it's a SQL Server issue here.
> With SQL Server 2000, you'll need a 3rd party solution (Protegrity seems to
> be a popular one) to encrypt data inside the database. SQL Server 2005 will
> have encryption capabilities built in.
> Network packet encryption is a "turn on/off" switch from the network
> configuration utility.
> Encrypting emails and SSL are not really tied to the database.
> Did I misunderstand your question?
>
> joe.
>
> "SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
> news:F7988D30-6E33-4E8C-AEE5-A0031952AE43@.microsoft.com...
> >I am running MS 2003 Server with SQL Server 2000 including SP4 which I
> > installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
> > SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent
> > to
> > my question...
> >
> > I am designing a web-page which sits behind an SSL...how do I encrypt my
> > data...i am accepting credit card and banking account information on this
> > page and then want to have a secure email sent to my outlook....so really
> > two questions here..
> >
> > 1. how do I encrypt data?
> > 2. how do I send secure and/or encrypted email?
> >
> > thanks
>
>|||Hi
SQL Server 2000 will not encrypt it. You would have to do it in code.
SQL Server 2005 (in Beta) supports column level encryption.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
news:512AED76-DB94-45EB-AC6A-C1BD46A40642@.microsoft.com...
> Joe,
> Thanks for your response...
> I was told from a developer that I can build a SQL database and the
> contents
> inside could be encrypted. I am looking for the 'easiest, cheapest,
> safest'
> way to store banking information from my web-page into the db.
> I should have made the email portion separate also. On that note, I would
> like to write a stored procedure or use SQL-NS to tell me that a
> a'payment'
> has been made and then an email (secure using TLS, or TSL') could be sent
> out. does that make sense?
> thanks for your help
> "Joe Yong" wrote:
>> Doesn't sound like it's a SQL Server issue here.
>> With SQL Server 2000, you'll need a 3rd party solution (Protegrity seems
>> to
>> be a popular one) to encrypt data inside the database. SQL Server 2005
>> will
>> have encryption capabilities built in.
>> Network packet encryption is a "turn on/off" switch from the network
>> configuration utility.
>> Encrypting emails and SSL are not really tied to the database.
>> Did I misunderstand your question?
>>
>> joe.
>>
>> "SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
>> news:F7988D30-6E33-4E8C-AEE5-A0031952AE43@.microsoft.com...
>> >I am running MS 2003 Server with SQL Server 2000 including SP4 which I
>> > installed yesterday. In addition, I have also installed SOAP Toolkit
>> > 3.0,
>> > SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is
>> > relavent
>> > to
>> > my question...
>> >
>> > I am designing a web-page which sits behind an SSL...how do I encrypt
>> > my
>> > data...i am accepting credit card and banking account information on
>> > this
>> > page and then want to have a secure email sent to my outlook....so
>> > really
>> > two questions here..
>> >
>> > 1. how do I encrypt data?
>> > 2. how do I send secure and/or encrypted email?
>> >
>> > thanks
>>|||You could use the encryption native to Windows to encrypt the FILE on disk
but it won't stop anyone from viewing the data if they get access to your
database. It only comes in handy if someone gets hold of the file. You will
need to encrypt the file using the account that runs SQL Server.
"SQL Brad" wrote:
> Joe,
> Thanks for your response...
> I was told from a developer that I can build a SQL database and the contents
> inside could be encrypted. I am looking for the 'easiest, cheapest, safest'
> way to store banking information from my web-page into the db.
> I should have made the email portion separate also. On that note, I would
> like to write a stored procedure or use SQL-NS to tell me that a a'payment'
> has been made and then an email (secure using TLS, or TSL') could be sent
> out. does that make sense?
> thanks for your help
> "Joe Yong" wrote:
> > Doesn't sound like it's a SQL Server issue here.
> >
> > With SQL Server 2000, you'll need a 3rd party solution (Protegrity seems to
> > be a popular one) to encrypt data inside the database. SQL Server 2005 will
> > have encryption capabilities built in.
> >
> > Network packet encryption is a "turn on/off" switch from the network
> > configuration utility.
> >
> > Encrypting emails and SSL are not really tied to the database.
> >
> > Did I misunderstand your question?
> >
> >
> > joe.
> >
> >
> > "SQL Brad" <SQLBrad@.discussions.microsoft.com> wrote in message
> > news:F7988D30-6E33-4E8C-AEE5-A0031952AE43@.microsoft.com...
> > >I am running MS 2003 Server with SQL Server 2000 including SP4 which I
> > > installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
> > > SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent
> > > to
> > > my question...
> > >
> > > I am designing a web-page which sits behind an SSL...how do I encrypt my
> > > data...i am accepting credit card and banking account information on this
> > > page and then want to have a secure email sent to my outlook....so really
> > > two questions here..
> > >
> > > 1. how do I encrypt data?
> > > 2. how do I send secure and/or encrypted email?
> > >
> > > thanks
> >
> >
> >

Encryption and SSL and Email

I am running MS 2003 Server with SQL Server 2000 including SP4 which I
installed yesterday. In addition, I have also installed SOAP Toolkit 3.0,
SQLXML 3.0 SP3 and SQLNS 2.0 SP1...not sure how much of this is relavent to
my question...
I am designing a web-page which sits behind an SSL...how do I encrypt my
data...i am accepting credit card and banking account information on this
page and then want to have a secure email sent to my outlook....so really
two questions here..
1. how do I encrypt data?
2. how do I send secure and/or encrypted email?
thanksConsider posting this question to security newsgroups. There are no inbuilt
data encrytion routines in SQL Server, so if will have to roll out your own
functions. You can utilize the Cryptography APIs to come up with your own.
Regarding the emails, AFAIK xp_sendmail cannot send encrypted emails from
SQL Server.
Anith

Encryption

Here is my goal please let me know if it is possible.

I have installed sql express on clients machines. I don't want them to be able to view the sp's or the functions. I would like to go as far as not allowing them to see the tables. I tried with encrption but this is still breakable by the user using the DAC.

Thanks

Will the users have be in the sysadmin role on their servers?

If so, there is little you can do, for sysadmin has full access to everything. You can use WITH ENCRYPTION when you create Stored Procedures and FUNCTIONs, and the IP will be somewhat 'safe' from prying eyes. (Just be sure to keep a copy of the code saved somewhere in case you ever have to make changes.)

|||

Ya only problem is if the user wants to they could use DAC to access the encrypted sp's.

My application will be downloaded via Click Once it will install sql express on the users machine if they don't already have it installed. So there is really nothing that I can do to the physicall machine.

Is there a way to hide DSQL from profiler? I was thinking if I made it all DSQL and hide it from profiler I would be ok then.

|||

Any code that executes on SQL Server will be viewable with Profiler -including dynamic sql.

If the client owns the database (that is, sysadmin role), guess what, they 'own' the database, and there is little you can do about it.

|||

Is it possible to disable the sysadmin role if I am installing a new instance of sql express?

|||No, you cannot, and do NOT want to disable the sysadmin role.|||

Why not? If i disable the sysadmin role then there would be no way for them to view the sp's or functions.

|||

Hi Jonathan,

You can't remove the built-in security roles. Besides, SQL Server depends upon the SysAdmin role to do many things; upgrade the instance, manage the server, etc. If you remove it, you will break the server. No matter what you do with the server security elements, the data file can always be moved to a different server where the user does have rights.

There are a few things you can do:

You can use the WITH ENCRYPTION command when you create objects to help obscure your sources. You can encrypt the actual data in your database to protect that. You can license/copywrite your application, including the data structures so that if anyone steals them you can seek a legal settlement. (To be honest, this is probably the most important thing you can do to protect you IP, but most people don't do this.)|||

"You can license/copywrite your application" This is a very good point and something that I will look into for sure.

What about doing CLR sp's?

Is there a easy way for those to be decrypted/cracked?


Thanks

|||

You 'could' use an obfuscator to 'hide' the CLR code -but you are introducting an additional element of 'slowness' to the performance equation. As well as additional barriers to code maintenance/upgrades.

Is it really worth it?

Sell you product with the full protection of IP/Copyright laws, sell only to reputable clients (ones that have something at risk should you ever need to litigate), and realize that someone else may come up with the exact same code solution you did. Would you want to have to 'vet' all of your code to make sure someone else hasn't done it before?

That's life -we protect ourselves the best we can, hope that there is such a thing as 'karma', and move on.

|||

I concure with Arnie regarding CLR objects, they are not a security measure. CLR Stored Procedures are there to address certain types of operations that are better performed using a procedural language, or that are not possible using T-SQL. They are very powerful, but there is a trade-off (there always is). In that they don't necesarily perform as well as T-SQL for standard data operations because they introduce extra layers.

You'll introduce new problems into your programming if you try to go down the CLR route as a way to "secure" you code. Once that happens, you spend a bunch of time and money solving the wrong problems. For what it's worth, I see these needs your bringing up and we're talking about ways to meet the need to offer better protection over IP in the client scenario in a future release of SQL Server.

Mike

|||

Is it possible to disable the DAC?

|||

Actually, DAC is disabled in SQL Express by default, but there is no way to prevent DAC from being enabled and used by someone with the appropriate permissions on you computer.

Mike

|||

What about using SQL Compact and embedding the sql database?

What issues would i have with security with this.

Also what is the max db size and are indexes supported?

|||

There is a forum dedicated to SQL Compact Edition, so you should direct your specific questions to that forum. You may also want to read the information available about SQLce on MSDN, start at http://msdn2.microsoft.com/en-us/sql/bb204609.aspx. Right now SQLce has the same db size limit as SQL Express, 4 GB. The security model is different, you can specify a single password for the entire file and that password must be supplied in order to access the file. When you password protect the database file, it is encrypted, but I'm not sure what level of encryption is used. I believe they support a subset of the same types of indexes available in SQL Server.

Mike

sql

Encryption

Here is my goal please let me know if it is possible.

I have installed sql express on clients machines. I don't want them to be able to view the sp's or the functions. I would like to go as far as not allowing them to see the tables. I tried with encrption but this is still breakable by the user using the DAC.

Thanks

Will the users have be in the sysadmin role on their servers?

If so, there is little you can do, for sysadmin has full access to everything. You can use WITH ENCRYPTION when you create Stored Procedures and FUNCTIONs, and the IP will be somewhat 'safe' from prying eyes. (Just be sure to keep a copy of the code saved somewhere in case you ever have to make changes.)

|||

Ya only problem is if the user wants to they could use DAC to access the encrypted sp's.

My application will be downloaded via Click Once it will install sql express on the users machine if they don't already have it installed. So there is really nothing that I can do to the physicall machine.

Is there a way to hide DSQL from profiler? I was thinking if I made it all DSQL and hide it from profiler I would be ok then.

|||

Any code that executes on SQL Server will be viewable with Profiler -including dynamic sql.

If the client owns the database (that is, sysadmin role), guess what, they 'own' the database, and there is little you can do about it.

|||

Is it possible to disable the sysadmin role if I am installing a new instance of sql express?

|||No, you cannot, and do NOT want to disable the sysadmin role.|||

Why not? If i disable the sysadmin role then there would be no way for them to view the sp's or functions.

|||

Hi Jonathan,

You can't remove the built-in security roles. Besides, SQL Server depends upon the SysAdmin role to do many things; upgrade the instance, manage the server, etc. If you remove it, you will break the server. No matter what you do with the server security elements, the data file can always be moved to a different server where the user does have rights.

There are a few things you can do:

You can use the WITH ENCRYPTION command when you create objects to help obscure your sources. You can encrypt the actual data in your database to protect that. You can license/copywrite your application, including the data structures so that if anyone steals them you can seek a legal settlement. (To be honest, this is probably the most important thing you can do to protect you IP, but most people don't do this.)|||

"You can license/copywrite your application" This is a very good point and something that I will look into for sure.

What about doing CLR sp's?

Is there a easy way for those to be decrypted/cracked?


Thanks

|||

You 'could' use an obfuscator to 'hide' the CLR code -but you are introducting an additional element of 'slowness' to the performance equation. As well as additional barriers to code maintenance/upgrades.

Is it really worth it?

Sell you product with the full protection of IP/Copyright laws, sell only to reputable clients (ones that have something at risk should you ever need to litigate), and realize that someone else may come up with the exact same code solution you did. Would you want to have to 'vet' all of your code to make sure someone else hasn't done it before?

That's life -we protect ourselves the best we can, hope that there is such a thing as 'karma', and move on.

|||

I concure with Arnie regarding CLR objects, they are not a security measure. CLR Stored Procedures are there to address certain types of operations that are better performed using a procedural language, or that are not possible using T-SQL. They are very powerful, but there is a trade-off (there always is). In that they don't necesarily perform as well as T-SQL for standard data operations because they introduce extra layers.

You'll introduce new problems into your programming if you try to go down the CLR route as a way to "secure" you code. Once that happens, you spend a bunch of time and money solving the wrong problems. For what it's worth, I see these needs your bringing up and we're talking about ways to meet the need to offer better protection over IP in the client scenario in a future release of SQL Server.

Mike

|||

Is it possible to disable the DAC?

|||

Actually, DAC is disabled in SQL Express by default, but there is no way to prevent DAC from being enabled and used by someone with the appropriate permissions on you computer.

Mike

|||

What about using SQL Compact and embedding the sql database?

What issues would i have with security with this.

Also what is the max db size and are indexes supported?

|||

There is a forum dedicated to SQL Compact Edition, so you should direct your specific questions to that forum. You may also want to read the information available about SQLce on MSDN, start at http://msdn2.microsoft.com/en-us/sql/bb204609.aspx. Right now SQLce has the same db size limit as SQL Express, 4 GB. The security model is different, you can specify a single password for the entire file and that password must be supplied in order to access the file. When you password protect the database file, it is encrypted, but I'm not sure what level of encryption is used. I believe they support a subset of the same types of indexes available in SQL Server.

Mike

Wednesday, March 7, 2012

Enabling Network Protocols Urgent

Hello
I installed MSDE2000 sp3a which disabled network protocols is there a way i can enable them without having to reinstall th
whole thin
Thanks,H
Use the Server Network Utilit
eg
"C:\Program Files\Microsoft SQL Server\80\Tools\Binn\svrnetcn.exe
JBandi

Enabling Network Protocols Urgent

Hello,
I installed MSDE2000 sp3a which disabled network protocols is there a way i
can enable them without having to reinstall the
whole thing
Thanks,HI
Use the Server Network Utility
eg:
"C:\Program Files\Microsoft SQL Server\80\Tools\Binn\svrnetcn.exe"
JBandi

Enabling Network Protocols Urgent

Hello,
I installed MSDE2000 sp3a which disabled network protocols is there a way i can enable them without having to reinstall the
whole thing
Thanks,
HI
Use the Server Network Utility
eg:
"C:\Program Files\Microsoft SQL Server\80\Tools\Binn\svrnetcn.exe"
JBandi

Enabling Network Protocols in MSDE 2000

Hello,
I installed MSDE 2000 it's not accepting connections from
any machine i think the network protocols got disabled is
there a way to enable them rather than installing again
MSDE installs a tool called srvnetcn.exe that can be used to configure the
network protocols of an MSDE instance. It is located in
Program Files\Microsoft SQL Server\80\Tools\Binn
Jim
"sch" <anonymous@.discussions.microsoft.com> wrote in message
news:1a4e501c41d83$c6d49b80$a101280a@.phx.gbl...
> Hello,
> I installed MSDE 2000 it's not accepting connections from
> any machine i think the network protocols got disabled is
> there a way to enable them rather than installing again
|||Hi Jim,
Actually svrnetcn.exe.
HTH,
Greg Low (MVP)
MSDE Manager SQL Tools
www.whitebearconsulting.com
"Jim Young" <thorium48@.hotmail.com> wrote in message
news:OYHIoBaHEHA.2300@.tk2msftngp13.phx.gbl...
> MSDE installs a tool called srvnetcn.exe that can be used to configure the
> network protocols of an MSDE instance. It is located in
> Program Files\Microsoft SQL Server\80\Tools\Binn
> Jim
>
> "sch" <anonymous@.discussions.microsoft.com> wrote in message
> news:1a4e501c41d83$c6d49b80$a101280a@.phx.gbl...
>
|||Thanks Very Much Guys!
|||
>--Original Message--
>MSDE installs a tool called srvnetcn.exe that can be
used to configure the
>network protocols of an MSDE instance. It is located in
>Program Files\Microsoft SQL Server\80\Tools\Binn
>Jim
>
>"sch" <anonymous@.discussions.microsoft.com> wrote in
message[color=darkblue]
>news:1a4e501c41d83$c6d49b80$a101280a@.phx.gbl...
from[color=darkblue]
is
>
>.
>works great, thanks Jim

Sunday, February 26, 2012

Enabling Full-Text search for SQL 2000 Personal Edition

I am having trouble Enabling Full-Text search for SQL 2000 Personal Edition.
I have installed the Microsoft Search service and it is running. When I look
in enterprise manager the Full-Text Search option does not appear in the
Support Services folder. How can I accomplish this?
SQL FTS is not installed by default on the personal edition of SQL Server
You will need to re-run setup to install this component.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"David O. Thomas" <David O. Thomas@.discussions.microsoft.com> wrote in
message news:7DFCF7F9-8AD8-4635-83DB-29AB6F0B9241@.microsoft.com...
> I am having trouble Enabling Full-Text search for SQL 2000 Personal
Edition.
> I have installed the Microsoft Search service and it is running. When I
look
> in enterprise manager the Full-Text Search option does not appear in the
> Support Services folder. How can I accomplish this?

Enabling full text search on existing sql server instance

Hi

I have an existing instance of sql express 2005 w/advanced services installed. When I installed I did not install full text search. Is there a way I can enable full text search on this existing instance?

Thanks

Try this:

sp_configure 'user instances enabled', '0'

sp_fulltext_database 'enable'

Then go ahead and try create your catalogs and indexes as normal.

Sunday, February 19, 2012

Enable Email Delivery of Reports

We have just installed SQL Server and Reporting Services. I'm trying to
setup automatic EMAIL delivery of some reports, but the only option I have
is to deliver to a file share.
How can I enable email delivery as a delivery option on SSRS? Thanks a ton
for your help.It won't be an option until you configure RS with an email source. You have
several options for this. My company has a smtp server around that does not
require a password to use to send email. Use the Reporting Services
Configuration tool to configure it for email.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"HBJimmie" <someone@.mydomain.com> wrote in message
news:4FFAADAD-A502-473B-96FB-2C5C525A495A@.microsoft.com...
> We have just installed SQL Server and Reporting Services. I'm trying to
> setup automatic EMAIL delivery of some reports, but the only option I have
> is to deliver to a file share.
> How can I enable email delivery as a delivery option on SSRS? Thanks a ton
> for your help.

Friday, February 17, 2012

Empty Warning box appears with only OK button (2 processes started) when I open Microsoft SQL se

Hello,

I'm new to SQL server 2005. I installed SQL server 2005 and had some problems with the original install. I therefore uninstalled SQL server 2005. Rebooted and than installed SQL server 2005 again. Everything appears to have installed correctly except for the fact that when I start SQL Server Management Suite I get 2 copies running in the foreground. The last copy of the SQL Server Management Suite shows a dialogue box that contain a warning sign (yellow triangle) with no text but an OK button is in the dialogue box. When I press the OK button, this instance of SQL Server Management Suite kills itself. The first instance is now given window focus and it brings up the "Connect to Server" dialogue box. I can connect to my local server and run a script to add columns to the database. But everytime I bring up SQL Server Management Suite, I always end up with 2 copies running and I have to hit the OK button to get rid of the second copy. Can anyone help me get ride of this annoying problem?

Hello,

I solved this problem! I installed windows XP Pro updates and one of the updates was the Update for .NET Framework 3.0 x86(KB932471). When I went to add/remove programs and removed this update, Microsoft SQL server management suite came up just like it is suppose to (only one instance running and the "Conncet to Server" Dialogue box is present.

JoAnn

Empty RS Home-folder after changing IIS properties

Hi,
I've installed Reporting Services on my laptop and built some folders and
reports, works great. But when other persons tried to access my reports they
only got an empty Home-folder when connecting (to http://myserver/Reports). I
tried to change properties at IIS/default website/reports/properties
(directory security/anonymous access and auth control/anonymous access) and
after that also I get an empty Home-folder. I can do/see nothing! As you
already noticed I'm a total newbie to webservers/security/domains etc. Any
tips to get the access to my reports back ? I've changed nothing but IIS
props.
/jerome kThis is not an IIS issue. You have to go in and set security on your folders in
Report Manager. Users must have at least Browser permissions to see anything in
the folders, including your root folder.
/jerome k wrote:
> Hi,
> I've installed Reporting Services on my laptop and built some folders and
> reports, works great. But when other persons tried to access my reports they
> only got an empty Home-folder when connecting (to http://myserver/Reports). I
> tried to change properties at IIS/default website/reports/properties
> (directory security/anonymous access and auth control/anonymous access) and
> after that also I get an empty Home-folder. I can do/see nothing! As you
> already noticed I'm a total newbie to webservers/security/domains etc. Any
> tips to get the access to my reports back ? I've changed nothing but IIS
> props.
> /jerome k|||The problem here is when you set anonymous then everybody is treated the
same, i.e. not given access. Change IIS back the way it was. Then create a
local group and put the people you want to have access to it in the group.
Next read up about roles. RS is role based. You have to put Window users or
groups into a role (using Report Manager). The window user or group can
either be local or domain. I create a local group and then add my domain
user and groups to the local group.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"/jerome k" <jeromek@.discussions.microsoft.com> wrote in message
news:1C173666-89C0-46EC-86E2-360F3202095D@.microsoft.com...
> Hi,
> I've installed Reporting Services on my laptop and built some folders and
> reports, works great. But when other persons tried to access my reports
> they
> only got an empty Home-folder when connecting (to
> http://myserver/Reports). I
> tried to change properties at IIS/default website/reports/properties
> (directory security/anonymous access and auth control/anonymous access)
> and
> after that also I get an empty Home-folder. I can do/see nothing! As you
> already noticed I'm a total newbie to webservers/security/domains etc. Any
> tips to get the access to my reports back ? I've changed nothing but IIS
> props.
> /jerome k