adding password for accessing ASPNET.MDF

  • Thread starter sravan_reddy001
  • Start date
S

sravan_reddy001

can i add a username and password to access ASPNET.MDF for the purpose
of security.. if we can add username and password for it.. how to use
the Login controls to access that database..
 
N

Norman Yuan

*.mdf is not a database, it is database file used by SQL Server/Express. It
can only be accessed by SQL Server server, nothing else. You do not add
password to it (there is not way to do it antway). You need to learn how to
install/configure SQL Server server instead. I strongly suggest do some
study on SQL Server before you go ahead with using SQL Server membership
provider in your ASP.NET web site/app.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top