R
Raghu Raman
Hi,
My query.
I need to restrict invalid users of my **database**
I did..
i am creating an asp.net app in c#.net . some part of my websites
including the home page can be seen by any people . so that i checked
the anonymous users check box and removed all other authentications in
my directory settings of the virtual dir.
my web.config file has
for example , i want to restrict the user sa from accessing the
database. i did
------------------------------------------------------------------------
-------------
<authentication mode="Forms">
<forms loginUrl="webform1.aspx" name=".aspauth"/>
</authentication>
<authorization>
<deny users="sa" />
</authorization>
* no impersonation
------------------------------------------------------------------------
-------------
*If i run the app,
the default startup page will be "webform1.aspx" .on that form ,i 've a
command but which opens the connection.It opens the connection
eventhough the user id=sa;
What should i do, to restrict the user "sa"
Thanks in advance ,
Raghu
My query.
I need to restrict invalid users of my **database**
I did..
i am creating an asp.net app in c#.net . some part of my websites
including the home page can be seen by any people . so that i checked
the anonymous users check box and removed all other authentications in
my directory settings of the virtual dir.
my web.config file has
for example , i want to restrict the user sa from accessing the
database. i did
------------------------------------------------------------------------
-------------
<authentication mode="Forms">
<forms loginUrl="webform1.aspx" name=".aspauth"/>
</authentication>
<authorization>
<deny users="sa" />
</authorization>
* no impersonation
------------------------------------------------------------------------
-------------
*If i run the app,
the default startup page will be "webform1.aspx" .on that form ,i 've a
command but which opens the connection.It opens the connection
eventhough the user id=sa;
What should i do, to restrict the user "sa"
Thanks in advance ,
Raghu