About security the OP asked. His intention is not allowing user to see his
database design and data. On this regard, login logic only guard very
innocent users. For any reasonably knowledgable network/computer
to see the database, unless some sort of encryption is applied. After all,
you cannot prevent an Administrator to install/uninstall MSDE. Say, your app
installs MSDE with SQL Security only with a long SA password. The user can
and re-install it with Windows security. And he can create whatever login
"Andrea Montanari" <andrea.sqlDMO@virgilio.it> wrote in message
news:3drhk9F6n6b9nU1@individual.net...
> hi,
> Q. John Chen wrote:
> > I am creating an application that need store data locally (the new
> > data are downloaded from my webserver daily). Here is what I want:
> >
> > 1. Secure - Only my application can read the database. I don't want
> > the user be able to look at the data using other tools, or be able to
> > export the data for other purpose.
> >
> SQL Server/MSDE is secure as long as you provide an accurate login
logic...
>
> SQL Server uses a so called "2 phase" authentication policy:
> first an SQL Server Login or a Windows login must be created of granted
> access to the SQL Server instance... at the server level a login can be
made
> member of none, 1 or all of the fixed server roles, which include
"sysadmin"
> role and so on...
>
>
> the second authentication phase is at database level, where each login
will
> be granted database access mapping to a database user... here access
> permissions are set, as granting user/role SELECT/DELETE/EXECUTE (and so
on)
> privileges at an object level (or column level for tables and views)..
> the mapping is performed in the JOIN database..sysusers.sid =
> master..syslogins.sid , so the only link is the provided Login's sid, it's
> Security IDentification number
> so, the second phase regards a database security implementation... in
order
> to access a specified database the simple login existance does not provide
> database access, but a (database) user must be mapped to the corresponding
> login.. and is about verifying that at each object level (including
> database, tables, views, columns, procedures and so on) the Login/User
> association is permitted access to... please go on reading at
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_security_05bt.asp ,
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_da_0n77.asp
> and following chapters..
>
>
> but, back to the first phase, you can choose between 2 authentication
modes:
> WinNT (trusted) connections or SQL Server authenticated connections... the
> latter always requires full user's credential such as "User
> Id=sa;Password=pwd", the password can be NULL so it must not be specified,
> but I strongly advise you always to ensure strong passwords are
present....
> WindowsNT authentication, on the contrary, does not requires user's
> credential becouse it's directly provided by Windows via the logins'ID
> (sid), which authenticate user's login at the windows login step... SQL
> Server only needs to verify that the corresponding login and/or group is
> granted to log on the instance...
>
>
> Microsoft recommends to use the Windows NT (trusted) model as it grants
more
> and reliable security patterns
> you can start reading about authentication modes at
>
>
> other articles worth reading can be found at
> http://www.sql-server-performance.com/vk_sql_security.asp
>
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sp3sec03.mspx >
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sp3sec00.mspx >
>
> > 2. Handle large amount of data and be very fast.
>
> about large amount of data, MSDE is limited to 2gb data file per
database..
>
> > 3. How MSDE is distributed?
>
> I do not understand this question... if it's about legal permissions, MSDE
> is free to download and use, where you have to register (for free) at
>
http://www.microsoft.com/sql/msde/howtobuy/redistregister.asp for
> redistribution rights...
> frmo a technical point of view, it isa provided as a package including a
> boostrap installer based on Windows Installer technology, to be run from a
> command line prompt in order to provide all the required parameters
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/distsql/distsql_84xl.asp
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
>
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org > DbaMgr2k ver 0.11.1 - DbaMgr ver 0.57.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> --------- remove DMO to reply
>
>