Click here to Skip to main content
15,887,434 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
can anyone explain how to secure web servers and database server when hosting application in MVC....
is there any coding in mvc or some other technique
Posted
Updated 9-Sep-15 22:34pm
v3
Comments
Sergey Alexandrovich Kryukov 10-Sep-15 3:43am    
Secure — in what sense?
—SA
John C Rayan 10-Sep-15 4:19am    
Securing webserver and database servers are nothing to do with MVC.
Can you explain what you mean really? There are many ways you can secure your webserver and database server from network security point of view but if you leave a door open through your dirty code and bad application deployment then you are vulnerable to hackers
Suhasini Basavaraj 10-Sep-15 6:00am    
i have coded to prevent cross site scripting and cross site request Forgery attacks..
is it is possible to any threat or attack on webserver and database server....if possible ...then how can i resolve those threats..that means how can i secure my web and database server..?
John C Rayan 11-Sep-15 4:17am    
XSS and XSR are automatically handled by MVC as long as you use HTML encode methods from MVC. Look at the link I have provided below for the security considerations for a MVC site. You don't have to worry about Database server normally if it is hosted by server admins who take care of them.
Suhasini Basavaraj 14-Sep-15 1:22am    
thanku for your reply sir......
can you pls tell me how to secure web server 2008 with IIS 7.5

1 solution

 
Share this answer
 
Comments
OriginalGriff 11-Sep-15 4:22am    
Please do not post the same thing repeatedly: all three went to moderation, and had to wait for approval as the automated system assumed they were spam.
I have deleted the "spares".
John C Rayan 11-Sep-15 4:57am    
Thank you. Will bear in mind next time. I thought I lost my posts.

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