Click here to Skip to main content
16,020,417 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How do I make password on my sql data files (.mdf , .ldf) and when make attach asking me first for the password to allow the attachment.

thanks in advance
Posted
Updated 17-Oct-10 22:45pm
v2
Comments
Sandeep Mewara 18-Oct-10 4:19am    
Not clear. Please elaborate what you are trying to do.
Dalek Dave 18-Oct-10 4:45am    
Edited for Grammar, Spelling, Syntax and Readability.

1 solution

try this:

Adding User Accounts[^]

and Create username and password for new SQL Server database[^]

basically you wont be able to attach a database without a password that has been set for it anyway.
GL
 
Share this answer
 
v2
Comments
[no name] 18-Oct-10 7:13am    
Thanks thatraja

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900