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 7975027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:32:11+00:00 2026-06-04T08:32:11+00:00

I have a rich client program installed on users PCs where I want to

  • 0

I have a rich client program installed on users PCs where I want to start storing some user created data on SQL Azure/SQL Server. The potential anonymous-to-me users would key in their name, email account and a password which would get stored on SQL Azure/SQL Server. Then they would start generating their own data. I’m anticipating volumes of maybe 1000 users.

There are times when those users would like to run their own queries against their own data but, obviously, I must ensure that they can never view other users data.

I’m thinking the best way to ensure security of data is for each user to be issued their own SQL Azure account and password. I will setup a SQL Azure user and long password, known only to me, which only has permissions to execute several stored procedures with appropriate parameters being passed to those SPs which will create the SQL Server accounts, logins and add the users to a role which I have created.

Obviously someone running debugging tools could figure out the user name and password but I’m thinking this isn’t a big deal. If all that particular SQL Azure account can do is execute a few SPs so what if a malicious individual starts doing that. I will only allow a very limited amount of data to be uploaded before I require payment.

The users can only insert records using stored procedures which use the following:

SELECT @uName=SYSTEM_USER 

and only select appropriate parent records. All stored procedures which users can execute would have the above as required to ensure they can only work with their own records.

All views will have embedded with them WHERE clauses such as

WHERE tbLoginName = SYSTEM_USER.

I’m new to SQL Server so I may be missing some fundamental concepts so I’d appreciate any and all comments.

  • 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-06-04T08:32:12+00:00Added an answer on June 4, 2026 at 8:32 am

    The issue is, as pointed out on http://msdn.microsoft.com/en-us/library/ms189751.aspx:

    In SQL Azure, only the server-level principal login (created by the provisioning process) or members of the loginmanager database role in the master database can create new logins.

    Those accounts are also capable of alter and drop logins. So if you embed those accounts in the client application, you’re essentially granting every user permission to alter/drop other users accounts. While an average user won’t do that, a hacker will. So you cannot let a client application manage SQL Azure logins, unless only trusted users (such as your IT administrator) are permitted to use the app.

    Best Regards,

    Ming Xu.

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

Sidebar

Related Questions

We have an rich client application running with dojo 1.2.x. Sometimes users are pasting
I have a strange problem in my rich client application. Here is some background:
I have the following RichFaces (3.3.3) : <rich:calendar id="richCal1" value="#{user.CreateDate}" popup="true" mode="client" inputSize="20" datePattern="dd/M/yyyy
I have a Java rich client desktop app. that I want to distribute on
I have heard positive things about Eclipse RCP (Rich Client Platform) - does Microsoft
We have a system where our front end is either a Rich Client application
I have a rich text in SL application. I want to get plain text,
I have a users model that can have many holidays through a rich join
I have a service which takes the user supplied rich text (can have HTML
I have an application built atop the Eclipse rich-client platform. It does not yet

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.