Showing posts with label believe. Show all posts
Showing posts with label believe. Show all posts

Thursday, March 29, 2012

Granting User Privileges??

I have setup an SQL MSDE instance on my PC and I currently finished working
on the BE in an access 2003 project. I believe it is now time to define
roles, users and grant each one its privileges, but how do I do that?
I know about GRANT, REVOKE etc, but
1. Where do I type these?
2. Is all this information encrypted?
3. When installing the MSDE I set a password what is this all about? Will
it have any impact on user level security?
4. Is there a visual tool to handle user level security, such as in an
Access database?
5. As I indend to create a distributed database application is these
security scheme in accordance to that?
6 and final. How can I let the superuser (aka the superior user of the
client) grant privileges to other users, after granting him the option to
grant? eg form?
Some answers inline
"Dimitrios Tanis" <jtanis@.mycosmos.gr> wrote in message news:O%23XXjhBnFHA.3608@.TK2MSFTNGP15.phx.gbl...
>I have setup an SQL MSDE instance on my PC and I currently finished working on the BE in an access 2003 project. I
>believe it is now time to define roles, users and grant each one its privileges, but how do I do that?
> I know about GRANT, REVOKE etc, but
> 1. Where do I type these?
In a script, run with osql.exe against the database is one way.
Query Analyser from a developer pc or pc with sql server installed is another

> 2. Is all this information encrypted?
Not unless it is embedded in your application, and only run locally or through an encrypted connection.
Even if it was scripting the database will get this configuration type of information back. The encyption in
SQL Server 2000 / MSDE is for view, triggers and stored procedures - i.e. code, and is crackable anyway.

> 3. When installing the MSDE I set a password what is this all about? Will it have any impact on user level security?
Depends on what authentication mode you use - with windows authentication, the only password you
have to worry about is the sa one on the install, and this is only a problem if someone at some stage
changes the security to SQL/Mixed.

> 4. Is there a visual tool to handle user level security, such as in an Access database?
If you map windows groups to the SQL database roles, then your user management is done under windows itself.
The beta for SQL 2005 Express includes a GUI tool, and there is a web based one for 2000.
http://www.microsoft.com/downloads/d...displaylang=en
http://www.microsoft.com/downloads/d...DisplayLang=en
Apart from them there is osql.exe for the masochistic, Enterprise Manager for the licensed, or your application
doing sql calls behind the scenes.

> 5. As I indend to create a distributed database application is these security scheme in accordance to that?
Well you are going to have to enable the network libraries, which immediatly gives you an order of magnitude
more security worries. For example a breach in your install of MSDE can grant full access to the PC (xp_cmdshell).
Integrated security is Microsoft's recommendation, but you still need to think about changing network ports and
firewalling.

> 6 and final. How can I let the superuser (aka the superior user of the client) grant privileges to other users, after
> granting him the option to grant? eg form?
see 4)
also suggest reading security related info from
http://msdn.microsoft.com/library/de...stsql_84xl.asp
Regards
AJ

Friday, March 9, 2012

Good God, please help me

Total computer illiterate (sp). Can't believe how hard
it is to try to send a question to microsoft. I could be
putting myself in additional peril posting this question
here but cannot find any way to send a request to a
Microsoft support staff. It's not like I need to talk to
Bill.
I opened Microsoft Works for the first time today and was
prompted to reload the software. After doing so, there
appeared a document titled Hacker (hhhmmmmmmm), of
course being CI I opened it and the following was all
that appeared in the document:
24.218.75.103
What have I done ?
Thanks,
MaureenFor your information my name means Gift from the God.
But becasue you say the name of God for nothing - this is a sin, I will not
help you...
Call your local computers company.
Bojidar Alexandrov|||First, this newsgroup is for security issues with the Microsoft SQL server
product, so you might not get a lot of MS works help here. I suggest
microsoft.public.works.win or as the appropriate forum.
Second, it is not hard to talk to Microsoft. It is expensive to talk to
Microsoft. Product Support Services charges $250 for a support call.
Finding the right newsgroup can help
Third, some people will get offended by casual deity references. It is best
to avoid offending people in a place where you get free assistance.
Finally, I would invest in some good anti-virus software and some good
spyware detection-removal software. Think of it as purchasing a good lock
and alarm for your data's new home.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Maureen" <anonymous@.discussions.microsoft.com> wrote in message
news:c56801c4386f$365fcd70$a301280a@.phx.gbl...
> Total computer illiterate (sp). Can't believe how hard
> it is to try to send a question to microsoft. I could be
> putting myself in additional peril posting this question
> here but cannot find any way to send a request to a
> Microsoft support staff. It's not like I need to talk to
> Bill.
> I opened Microsoft Works for the first time today and was
> prompted to reload the software. After doing so, there
> appeared a document titled Hacker (hhhmmmmmmm), of
> course being CI I opened it and the following was all
> that appeared in the document:
> 24.218.75.103
> What have I done ?
> Thanks,
> Maureen
>