Create Application Roles in SQL Server 7

Developers commonly want to ensure that a user accesses only the data through their application. After all, not every person should be let near a server with Microsoft Access. However, if a user has a valid login, there is nothing to stop him from viewing the data through any tool that he chooses. In version 7, SQL Server has added the concept of an application role, which allows you to create a role for your application and grant only this role the proper rights. Unlike other roles though, this role requires a separate password authentication before granting the rights associated with the role. So, the user can log in with his own ID and password. However, in your application, you use the sp_setapprole with a password that only you and your application know to activate the proper rights. Although the user will be able to log in to SQL Server through another tool, he will not be able to do anything without knowing the password for the application role.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS