Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6608823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:39:02+00:00 2026-05-25T19:39:02+00:00

My scenarion is MVC Blog (funnelweb) installed on a server named WEB . The

  • 0

My scenarion is MVC Blog (funnelweb) installed on a server named WEB. The SQL Server 2005 runs on DB. FunnelWeb site requires access to its own database. I have create a new database using SQL Server Management Studio and had named it FunnelWeb. I want to use SQL authentication, so I went ahead and created a SQL login FunnelWebAdmin. In the login mappings I have mapped FunnelWebAdmin to FunnelWeb database, and have granted him a dbowner permission on a db. I have not granted a login any server roles.

SQL Authentication is enabled for the server.

My question is:

Do I need to grant this login any server roles, so that the web site can connect to a database using SQL authentication? If yes, which are the minimum one’s in order for site to be able to manipulate database.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:39:02+00:00Added an answer on May 25, 2026 at 7:39 pm

    Unless I’m missing something setting that user in the role DBAdmin will give it the right to login. It will give it full rights and control over the database.

    Be sure you lock down that web application. Giving admin rights to a DB from a web app is dangerous at best. It leaves you open to SQL injection, which can open the door to all sorts of issues. A good attacker (or a mediocre one with access to google) can exploit an SQL Injection attack and gain full control over the operating system if the server isn’t locked down properly. http://sqlmap.sourceforge.net/doc/BlackHat-Europe-09-Damele-A-G-Advanced-SQL-injection-whitepaper.pdf

    Even if they can’t get control over the OS, you still need to worry about data theft, insertion of XSS or XSRF scripts, or any number of attacks.

    I’m not saying not to do it, just to be careful and be sure you know what you’re doing. Getting access to a database via a web app is childs play if there are any vulnerabilities. There are toolkits that you can buy that do it for you, so attackers don’t even need to know what they’re doing.

    I really have no idea what your experience level is, so forgive me if I’m telling you something you already know. Your question indicates that you’re more on the “beginner” end of the spectrum, but I may be wrong.

    Assuming I’m right, however, I would really caution you to spend a lot of time on these sites,learning everything you can. They don’t teach this stuff adequately in school, or in the “Learning programming” resources (books, web, videos, etc).

    OWASP Top 10

    Writing Secure Code (Microsoft)

    Even if the website itself is not Internet accessible (say it’s running on a corporate Intranet and only logged in users have access) you still need to be cautious. Statistics show that disgruntled co-workers with access are just as much of a threat as outside attackers. Just something to bear in mind.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

An MVC 3 web site with some sections in Silverlight 5 Can Rx be
We have a scenario whereby we are hosting an ASP.NET MVC web site on
My scenario is a 3-Tier app where the data tier is a SQL Server
Scenario I'm writing a web application, MVC in my case, and I need to
Take the scenario where you have the following application: An MVC 4 Web App
I am in a strange problem. I have an asp.net mvc web page. Scenario
The application includes: ASP .NET MVC web app DAL Background Service Library project The
I'm playing around with the new mvc web api and knockout.js and came across
I am building a blog engine using MVC 3 and razor. In this scenario,
Scenario We're developing a new MVC web project and we're trying to adhere to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.