Checking user ID from within a Delphi application

Checking user ID from within a Delphi application

How can I check the user ID from a Delphi Application?

I need to allow only some users access to certain menu items, or limit the option available to users depending on who they are.

This is for a Delphi application running under Windows 95 on a Windows NT 4 server/network accessing a Paradox 7 database.

There are various ways to approach this problem. But having come from theParadox for Windows world, you’re probably better off having users log in to the application itself to control screen and menu access.There are a couple of reasons to justify this position.

First, you’ll have to keep a database of users and their accessrights in your application anyway. Might as well centralize control of thesecurity rather than using a detection scheme that might not be very reliable.

Second, the networking calls for detecting a user are different forWindows NT and 95. Not only will you have to detect the user, butyou’ll first need to get the operating system they’re using to make the propercall, and this makes the whole process ofbuilding the security layer more trouble than it’s really worth.

I have experience with complex and sophisticated security systemsbuilt around Paradox databases; based on that experience, my preferencewould be to build a centralized security system that is application-specific.

Share the Post:
XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several

data fivetran pricing

Fivetran Pricing Explained

One of the biggest trends of the 21st century is the massive surge in analytics. Analytics is the process of utilizing data to drive future decision-making. With so much of

kubernetes logging

Kubernetes Logging: What You Need to Know

Kubernetes from Google is one of the most popular open-source and free container management solutions made to make managing and deploying applications easier. It has a solid architecture that makes

ransomware cyber attack

Why Is Ransomware Such a Major Threat?

One of the most significant cyber threats faced by modern organizations is a ransomware attack. Ransomware attacks have grown in both sophistication and frequency over the past few years, forcing

data dictionary

Tools You Need to Make a Data Dictionary

Data dictionaries are crucial for organizations of all sizes that deal with large amounts of data. they are centralized repositories of all the data in organizations, including metadata such as