- Joined
- Sep 11, 2007
- Messages
- 257
- Reaction score
- 0
Hi RZ users!
I will post how to litlle secure your web site!
How we all know,menny people use account "sa" in websites,bt it's not safe,account "sa" hawe all previlegios and hackers just hawe to easy brake your server!
Ok.Lets start!
First we need to create new account!
Go to:
"Start" -> "Programs" -> "Microsoft SQL Server" -> "Enterprise Manager".
Now open "Security" folder and right click with mous on "Logins" tab and select "New Login".
Now register new user:
"Name" -> Name of account (ex. WebSite)
"Password" -> Password of account
Now select created "Account" right click on muse and select "Properties".
Now select "Database Access" tab and select this 2 databases "MuOnline" and "Ranking".
Now select "Server Roles" tab and select this 2 rules "System Administrators" and "Security Administrators"
Press "OK" And close your "Enterprise Manager".
And now you cant replace in website config login "sa" with your created login and password!
Here is example:
Thats all! Now your website is litlle secured!
Thanks!
(BlackTeam)
Credits By MuForum.Info
I will post how to litlle secure your web site!
How we all know,menny people use account "sa" in websites,bt it's not safe,account "sa" hawe all previlegios and hackers just hawe to easy brake your server!
Ok.Lets start!
First we need to create new account!
Go to:
"Start" -> "Programs" -> "Microsoft SQL Server" -> "Enterprise Manager".
Now open "Security" folder and right click with mous on "Logins" tab and select "New Login".

Now register new user:
"Name" -> Name of account (ex. WebSite)
"Password" -> Password of account

Now select created "Account" right click on muse and select "Properties".
Now select "Database Access" tab and select this 2 databases "MuOnline" and "Ranking".

Now select "Server Roles" tab and select this 2 rules "System Administrators" and "Security Administrators"

Press "OK" And close your "Enterprise Manager".
And now you cant replace in website config login "sa" with your created login and password!
Here is example:
PHP:
// Enter the IP or DSN of the database server to connect to
$dbhost = "127.0.0.1"; -> Your IP
// Enter the username to connect to the db, default is sa
$dbuser = "WebSite"; -> Login what we just now created
// Enter the password for your SQL Server
$dbpasswd = "123456"; -> Pasword to our created login
// Enter the Database name for your SQL Server
$database = 'MuOnline'; -> Database name
// Host. IP If working remotely, usually 127.0.0.1 works
$host = "127.0.0.1"; -> Again your IP
Thats all! Now your website is litlle secured!
Thanks!
(BlackTeam)
Credits By MuForum.Info
Last edited: