473,657 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to implement password/access rights check

Hello all!
In my project I need to grant different users different levels of
access to the features of the program. It is clear for me how to do it
in case of simple allowed/denied access to the program. I just create
text file with usernames and md5 hash of their passwords. But how and
where to store access options? I suppose, that access options must be
encrypted too (or maybe i'm not right?). Additionally i need an option
for the admin to arbitrarily change access options for users without
knowing their passwords. Anyone could please direct me. Thanks.
Alex221
Jul 19 '05 #1
1 3340
"Alex Prokhorov" <al*****@pisem. net> wrote...
In my project I need to grant different users different levels of
access to the features of the program. It is clear for me how to do it
in case of simple allowed/denied access to the program. I just create
text file with usernames and md5 hash of their passwords. But how and
where to store access options? I suppose, that access options must be
encrypted too (or maybe i'm not right?). Additionally i need an option
for the admin to arbitrarily change access options for users without
knowing their passwords. Anyone could please direct me. Thanks.
Alex221


Have you tried comp.programmin g? Your question seems to have nothing
to do with the C++ _language_. I bet there are also newsgroups that
deal with encryption and security, try them too.

Victor
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
14511
by: arktikturtle | last post by:
Hi! I'm looking for a way to validate a password within PL/SQL. I want to write CREATE PROCEDURE change_password(old_password IN VARCHAR2) IS BEGIN -- check if old_password is correct... but how? I can get the hashed value of the password from DBA_USERS, of course, but is there a way to hash old_password to see if it matches? (I wouldn't be
7
2073
by: ciuky2003 | last post by:
How can I ask another time the password to a customer, after that he has done login to a protected db? Ciuky
2
3789
by: Chuckles | last post by:
I am building a simple access database for a small home business. I have a table containing userid, password, and rights(either admin or regular) which will simply stop someone from clicking on certain command buttons. Setting up users and groups is really not neccessary as it is just a few people logging in. The problem i have Is I can't figure out how to return the rights value after the usrid and password check ok. I can get it to log...
5
16912
by: scorpion53061 | last post by:
is it possible to set the database password that you can set in access for a database from a vb.net application?
5
3639
by: alekatz | last post by:
Hi, I developed an aplication for an autoservice Kiosk, witch will be rented to customers. I want to lock a folder where sensitive files will reside, something like a password. Encryption will not work because the files are many and are big (25Mb aprox every file). Any suggestion will be really apreciated, Greetings, Alejandro Katz
9
5941
by: =?Utf-8?B?Sm9l?= | last post by:
OK, I have code that I used in a standard windows app that would create an account and then set the password. I have taken that code and am using it in a Web App. Here's the code: user.CommitChanges(); user.Properties.Value = 0x200; //Normal user user.Invoke("SetPassword", new object {szPassword});
2
2481
by: Jeff Williams | last post by:
I am developing an application which will allow users (students) to run applications on PC's with elevated rights. This is necessary for some applications which require Administrator rights on the PC. I now need to store the local administrator username and password somewhere where my application can read this from. I am looking for comments on 1. Recommend place to store this data
1
2320
by: eighthman11 | last post by:
Hi everyone: I created a custom toolbar called Password, so users can change their password. I used the Command "User and Group Accounts". I know the user can not change anything in the Tab "Users" or "Groups" in the "User and Group Accounts" and can only use the tab "Change Logon Password", but can I force a tab selection to the tab "Change Logon Password" and disable the other two tabs? Or does anyone know of an alternative way to...
8
3124
by: John | last post by:
Hi, gurus, How can I implement the following feature in C#: Set objGroup = GetObject("WinNT://" & strComputer & "/" & strGroup & ", group") For Each objMember In objGroup.Members WScript.Echo vbCrLf & " Name: " & objMember.Name Next
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8844
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8518
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7354
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.