DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2006

    Using the ASP.NET machine account for SQL access - secure?

    We're redoing all our SQL permissions where I work because previously all our applications had used the same built-in login in their SQL connection strings. It's a bit of a headache going through and giving certain groups permissions to certain tables, views and stored procedures, so I'm wondering if it would be an efficient and secure solution to just use the ASP.NET machine account for accessing SQL.

    If we converted all our applications to use the ASP.NET machine account and then gave that account the appropriate permissions on our SQL databases, would that be a good idea? Would it be secure? Anyone else done this?


  2. #2
    Join Date
    Nov 2003
    Portland, OR
    Yes, that should be fine as long as you don't need to grant different database permissions to different users. There's also no way to track which user made which changes to the database. For more information, please see http://msdn2.microsoft.com/en-us/lib...001_dataaccess
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 2
    Last Post: 03-14-2005, 01:26 PM
  2. Using ASP.NET with Microsoft Access
    By jbricher in forum ASP.NET
    Replies: 3
    Last Post: 03-03-2005, 10:16 PM
  3. Replies: 60
    Last Post: 09-13-2002, 05:41 PM
  4. Access to the registry key is denied.
    By Prabhakar in forum ASP.NET
    Replies: 0
    Last Post: 04-29-2002, 06:34 PM
  5. Secure ASP.NET application
    By Yuriy Galanter in forum ASP.NET
    Replies: 2
    Last Post: 01-24-2002, 11:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.